[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: boot from backup copy of fc5 on usb external disk?



jackson byers wrote:
> main fc5 system on sda1
> [byers bootp drhmail09]$    uname -a
> Linux bootp 2.6.17-1.2174_FC5 #1 Tue Aug 8 15:30:55 EDT 2006 i686 i686
> i386 GNU/Linux
> 
> I am trying to boot from a backupcopy of my mainfc5
> which backupcopy is in top dir of the usb disk /dev/sdc1
> mounted as /media/disk-1  when in mainfc5
> that usbdisk is one large reiserfs partition sdc1
> 
> 1) first problem
>  if i use in grub.conf in a new stanza
> root (hd2,0)   corresponding to /dev/sdc1
> then boot fails immediately  "hd2 does not exist"
> 
Grub uses the BIOS to access the drives. It looks like your BIOS is
not mapping the USB drive. This is BIOS dependent.
> 
> 
> 2) second problem
> if i cheat and copy the /boot dir from the usb fc5copy  into /dev/sdb3
> and use   root (hd1,2)  in grub.conf
> then  again attempting to boot from usb  gets to ok booting the kernel
> 
> but shortly fails with "could not find /dev/root" and other "couldnotfind"
> 
Did you include the usb_storage module in your initrd? If not, you
do not have the proper drivers to access the root file system on
your USB drive.

How you manage things is up to you. I kind of like to set up a
distribution on a USB drive so that it will boot off of any machine
that will boot off of a USB drive. This means that you nave to
select the USB drive as the boot device using the BIOS. (I hit F12,
and pick the boot device on my machine.) As far as Grub is
conserved, it is booting off of drive 0. You still need usb_storage
and the USB controller drivers in the initrd.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]