Re: Boot Linux from USB
From: Doug H (doug_at_anywhere.invalid)
Date: 02/17/05
- Next message: Franz Fripplfrappl: "Re: Mandrake vs SuSE"
- Previous message: baskitcaise: "Re: F-Prot"
- In reply to: Neos: "Boot Linux from USB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Feb 2005 05:57:00 -0500
Neos wrote:
> Hello everyone!
>
> It is crucial to me that i carry a Linux system on my USB harddrive -for
> pc recovery business-
> so, i set up Suse 9.2 on a 40GB HDD, sitting as secondary IDE Slave.
>
> All is good so far.
> I get the HDD on an external USB case and boot from USB, it seems to boot
> ok **but**
> when it comes to mount the HDD, it doesn't find the root (/) -which is on
> the USB HDD, the same place it loaded GRUB from, the same place it looked
> for to load into the ram-disk etc..
>
> so, it drops me to 'sh' with very few commands to deal with (one in
> paticular: mount)
>
> could someone please tell me how to tell the system where '/' is?
>
> Or does anyone here know how USB devices are named in Linux?
> -for example internal hardDisks are named like 'hda1' or 'hda5' .....
>
> Any opinions would help!
>
> Thanx in advance..
Neos,
I had a similar problem. When booting the SuSE installation on the USB
drive, it could find GRUB on the USB drive and start the kernel and initrd,
but then it couldn't find root. It would hang with an error message of
"cannot open root device "sda1" or unknown-block(0,0), please append a
correct "root=" boot option."
The apparent answer was that the kernel, at that point in the boot cycle,
didn't know how to read files off of a USB drive (which apparently looks to
the kernel like a SCSI drive).
The solution, which I found somewhere with the help of Google, was to edit
/etc/sysconfig/kernel and add the following modules to the initrd_modules
section: sbp2 usb-storage ehci-hcd uhci-hcd sr_mod sd_mod scsi_mod. Then I
ran mkinitrd in a console, and the boot worked after that.
I hope this helps, but I don't have much real understanding about what I
just explained. For example, the modules listed above were enough to get
going. But I don't know what each one does, and I don't know whether they
all were needed. Nor do I know whether there might have been a simpler
way, or whether my understanding of the problem was correct or wildly off.
Doug
- Next message: Franz Fripplfrappl: "Re: Mandrake vs SuSE"
- Previous message: baskitcaise: "Re: F-Prot"
- In reply to: Neos: "Boot Linux from USB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|