Solved

Windows on the internal Drive, Gentoo on an external USB Drive

Posted on 2004-10-06
3
252 Views
Last Modified: 2013-12-15
Hi

I tried installing Gentoo 2004.2 on an external USB Drive attached to my laptop. This worked fine up until rebooting after installing the bootloader.
I know the drive recognised as /dev/sda in linux and the partitions on it are:
/dev/sda1 windows ntfs (no OS installed)
/dev/hda2 Extended partition
/dev/sda5 /boot ext3
/dev/sda6 swap
/dev/sda7 /  ext3
the device /dev/hda has only one partition:
/dev/hda1 windows ntfs (windows installed)

I have installed lilo on /dev/hda.
Here's my lilo.conf:

-----
boot=/dev/sda            
           timeout=50                
           default=gentoo            
           vga=788                  
                 
           
           image=/boot/kernel-2.4.26-gentoo-r6
             label=gentoo
             read-only
             root=/dev/ram0
             append="init=/linuxrc ramdisk=8192 real_root=/dev/sda7"
             initrd=/boot/initrd-2.4.26-gentoo-r6
           
           other=/dev/hda1
             label=windows
-----

When i try to boot, its says:
Block device dev/sda is not a valid root device...
The root block device is unspecified or not detected.
please specify a device to boot, of "shell"for a a shell...
After which it asks me for the root partition.

So it seems it cant detect the drive/partition.(i tried to manually enter the root partition, but to no avail)

What do i need to do to make linux boot from the external drive?

Thanks in advance
0
Comment
Question by:RusherNL
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 12243600
I don't know about Gentoo, but having done something similar with RHEL 3.0 I can state that the initrd image must be custom build to include support for USB to be able to boot a system from a USB drive. Basically you have to force 5 modules into the initrd image. I don't have those notes with me right now or I'd add the procedure to this comment.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now