?
Solved

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

Posted on 2004-10-06
3
Medium Priority
?
263 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
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month15 days, 17 hours left to enroll

850 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