FW: re grub error 17

Ray Burke rayburke30 at hotmail.com
Sat Jan 24 20:03:43 UTC 2009


I forgot one thing read in red

From: rayburke30 at hotmail.com
To: kubuntu-users at lists.ubuntu.com
Subject: RE: re grub error 17
Date: Sat, 24 Jan 2009 07:17:49 +1100








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
PS I mean to say that I have of "K" that it sitting in a switchable
external usb hdd drive






Date: Fri, 23 Jan 2009 12:47:37 +0100
Subject: Re: re grub error 17
From: Herve at lucidia.net
To: kubuntu-users at lists.ubuntu.com

Hello 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 Kubuntu

As 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 grub

Or:
* 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 drive
and did a $df -h  and a $df /boot see below
**********************************************************************
 rayburke at rayburke-desktop:~$ df -h
Filesystem            Size Used Avail Use% Mounted on
/dev/sdb1              18G  7.6G  9.0G  46% /
varrun                474M  160K  474M   1% /var/run
varlock               474M     0  474M   0% /var/lock
udev                  474M   88K  474M   1% /dev
devshm                474M     0  474M   0% /dev/shm
lrm                   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-1
rayburke at rayburke-desktop:~$ df /boot
Filesystem           1K-blocks Used Available Use% Mounted on
/dev/sdb1             1 rayburke at rayburke-desktop:~$ df -h
Filesystem            Size Used Avail Use% Mounted on
/dev/sdb1              18G  7.6G  9.0G  46% /
varrun                474M  160K  474M   1% /var/run
varlock               474M     0  474M   0% /var/lock
udev                  474M   88K  474M   1% /dev
devshm                474M     0  474M   0% /dev/shm
lrm                   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-1
rayburke at rayburke-desktop:~$ df /boot
Filesystem           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 and
only have one boot on sdb1?????
so await your advise

ray





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



Subject: Re: re grub error 17
From: Herve at lucidia.net
To: kubuntu-users at lists.ubuntu.com

Hi 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/sdb

This 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/sdb4

Good luck,
Hervé



 
ray



Date: Wed, 21 Jan 2009 14:04:04 +0100

Subject: Re: re grub error 17
From: Herve at lucidia.net
To: 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 on

If 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 17

The 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 /boot

which 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 list
kubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users






Find your ideal job with SEEK Time for change?
--
kubuntu-users mailing list
kubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users



Let ninemsn property help! Need a new place to rent, share or buy?
_________________________________________________________________
Get rid of those unwanted christmas presents! Get what you want at ebay.
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Frover%2Eebay%2Ecom%2Frover%2F1%2F705%2D10129%2D5668%2D323%2F4%3Fid%3D10&_t=763807330&_r=hotmailTAGLINES&_m=EXT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20090125/a3d51c77/attachment.html>


More information about the kubuntu-users mailing list