re grub error 17

Ray Burke rayburke30 at hotmail.com
Fri Jan 23 20:17:49 UTC 2009


Herve I am in xp pro,
 
Yes that is right what you say below, and I already have a bkup of kubuntu
done when in xp pro I clonned thru paragon drive copy 8
as Ghost did not work?????
 
PS the main xp pro is on dev/sda1
the backup xp pro is on dev/sdh1
both have only one partition
 
hope this helps to find a resolution to my problem
ray



Date: Fri, 23 Jan 2009 12:47:37 +0100Subject: Re: re grub error 17From: Herve at lucidia.netTo: kubuntu-users at lists.ubuntu.comHello Ray,I think I see the problem. Can you confirm that:* /dev/sda is your Windows disk, with one partition: /dev/sda1 (called BKUP_MAN ???)* /dev/sdb is your Kubuntu disk, with several partitions* /dev/sdh is your backup disk, with one partition: /dev/sdh1 (called BKUP_MAN-1)* you do not have a backup of KubuntuAs I see it:* /dev/sdh (the full disk) is the backup of /dev/sda, including the boot record, where grub is.* grub looks for its startup files on /dev/sdb* when you boot with the backup disk connected, the BIOS boots the backup disk, with the broken grubOr:* the BIOS sees the backup disk (when present at boot) as the second hard disk, and GRUB therefore looks for its files in the wrong place (/dev/sdh instead of /dev/sdb).One thing is sure: you'd be better off with grub on /dev/sdb, so all Linux-related stuff remains together. You'd then have to tell your BIOS to boot from your Linux disk instead of the Windows one. IOW, tell you BIOS to boot from the slave disk on the primary controller. But this requires a bit of fidling with grub on the command line, which is not for the faint of heart!Otherwise, tell your BIOS to not probe for USB disks if that is possible.Of course I could be wrong!Hervé
2009/1/22 Ray Burke <rayburke30 at hotmail.com>

Herve I am in K,I booted up with the k live cd, and once up then turned on the external usb disk driveand did a $df -h  and a $df /boot see below********************************************************************** rayburke at rayburke-desktop:~$ df -hFilesystem            Size Used Avail Use% Mounted on/dev/sdb1              18G  7.6G  9.0G  46% /varrun                474M  160K  474M   1% /var/runvarlock               474M     0  474M   0% /var/lockudev                  474M   88K  474M   1% /devdevshm                474M     0  474M   0% /dev/shmlrm                   474M   38M  437M   8% /lib/modules/2.6.24-16-generic/volatile/dev/sdb2              19G  6.2G   13G  34% /home/dev/sda1              75G   39G   36G  52% /media/BKUP MAN/dev/sdh1              75G   37G   38G  50% /media/BKUP MAN-1rayburke at rayburke-desktop:~$ df /bootFilesystem           1K-blocks Used Available Use% Mounted on/dev/sdb1             1 rayburke at rayburke-desktop:~$ df -hFilesystem            Size Used Avail Use% Mounted on/dev/sdb1              18G  7.6G  9.0G  46% /varrun                474M  160K  474M   1% /var/runvarlock               474M     0  474M   0% /var/lockudev                  474M   88K  474M   1% /devdevshm                474M     0  474M   0% /dev/shmlrm                   474M   38M  437M   8% /lib/modules/2.6.24-16-generic/volatile/dev/sdb2              19G  6.2G   13G  34% /home/dev/sda1              75G   39G   36G  52% /media/BKUP MAN/dev/sdh1              75G   37G   38G  50% /media/BKUP MAN-1rayburke at rayburke-desktop:~$ df /bootFilesystem           1K-blocks Used Available Use% Mounted on/dev/sdb1             18034492   7909904   9397488  46% /rayburke at rayburke-desktop:~$8034492   7909904   9397488  46% /rayburke at rayburke-desktop:~$*************************************************************************************so as you see the main xp pro is sda1 and the external usb is sdh1 andonly have one boot on sdb1?????so await your adviseray

Date: Wed, 21 Jan 2009 21:16:51 +0100


Subject: Re: re grub error 17From: Herve at lucidia.netTo: kubuntu-users at lists.ubuntu.comHi Ray,
2009/1/21 Ray Burke <rayburke30 at hotmail.com>

Herve, I am sorry as kost of my questions on the forum go astray!!!!!
No worries :-) 

when I boot from the backup disk it just continually says gub, but this was a clonned copy thru ghost 3 of the main xp pro??
I s'pose ghost did not just copy the disk... I actually don't know this program. I use dd which is not very beautiful being command line and all that, but does exactly what's written on the tin :-)

 do I do this $ df /boot when in K and with just my xp pro drive and linux drive?????
Sorry, you'd do this from the command line (Konsole) in Kubuntu. Sorry again for my use of command line, I actually don't know the graphical tools though I know they exist. 
To copy the disks, I'd boot from a LiveCD of Kubuntu, so none of the hard disks are being used, then I'd make a bit-for-bit copy of my disks to the backup; that's what dd does.For example, when you start from the LiveCD, your main hard disk maybe /dev/sdc and your backup disk /dev/sdb, do you'd copy like so:$ dd if=/dev/sdc of=/dev/sdbThis means copy from input 'file' (if) /dev/sdc to output 'file' (of) /dev/sdb, and it preserves the boot record and partition table.You can also copy partitions the same way (after checking that destination >= source). For example:$ dd if=/dev/sda3 of=/dev/sdb4Good luck,Hervé

 ray

Date: Wed, 21 Jan 2009 14:04:04 +0100
Subject: Re: re grub error 17From: Herve at lucidia.netTo: kubuntu-users at lists.ubuntu.com


Hello Ray,Re-posting to the list in case it might help others... was sent to personal e-mail.I - Booting with the backup disks onIf your system boots ok with the backups off and does not when they're on, then my guess is that you have two grubs:* one on the main hard drive (the one you want)* at least one on the backups (the one[s] you don't)and that your system boots by default from the backup. This, as you probably know, can be changed in the BIOS settings, under the boot section (its location depends on your BIOS).II - Error 17The reason why grub gives error 17 is due to the difference between the partition layout in the backup disk[s] and the original disk. For example, Linux's boot partition maybe on partition /dev/sda3 on the original disk and /dev/sda1 on the backup disk[s]. To find out your boot partition, type this:$ df /bootwhich gives me (/boot is not a separate partition on my laptop - yet):/dev/sda8             52506748   3838592  46000968   8% /I hope this can help a bit. Do not hesitate to ask again if I can be of help.Hervé

Download free emoticons today! Holiday cheer from Messenger.--kubuntu-users mailing listkubuntu-users at lists.ubuntu.comModify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users


Find your ideal job with SEEK Time for change?--kubuntu-users mailing listkubuntu-users at lists.ubuntu.comModify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
_________________________________________________________________
Need a new place to rent, share or buy? Let ninemsn property help
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2F%3Ftracking%3Dsk%3Atl%3Ask%3Anine%3A0%3Ahottag%3Achange&_t=757263783&_r=SEEK_tagline&_m=EXT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20090124/48d2cf6d/attachment.html>


More information about the kubuntu-users mailing list