jermyandhisbass Posted November 17, 2003 Report Share Posted November 17, 2003 I installed Mandrake 9.2 to my USB2 hard disk just fine on my Dell Inspiron 600m. When I boot to the USB device at bootup it is unable to find the installation and gives me a kernel panic. Lilo is installed on the USB disk, how do I get it to actually boot Mandrake? Be descriptive, I am still a relative N00B. Thanks in advance Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted November 18, 2003 Report Share Posted November 18, 2003 See my long post here on this topic: http://www.mandrakeusers.org/index.php?sho...wtopic=8040&hl= Quote Link to comment Share on other sites More sharing options...
jermyandhisbass Posted November 18, 2003 Author Report Share Posted November 18, 2003 I don't have a floppy, how can I load the usb-storage module without one?? I'm completely lost Quote Link to comment Share on other sites More sharing options...
Pzatch Posted November 18, 2003 Report Share Posted November 18, 2003 You might be better off putting lilo on the computers hard drive and having it point to the USB device just like the other post said. The real problem is USB drives need software to run and if your not loading it first then your not running the drive. Untill the drivers are fully placed into the BIOS then its going to take some jumping though hoops to get them running other wise. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted November 18, 2003 Report Share Posted November 18, 2003 (edited) Your in a catch-22 with a usb hard drive. During boot you need to load the drivers for the device before it can be mounted and the drivers for the device are on the usb drive. My solution was to put the root partition on the internal hard drive. That's where the driver modules are located. It can easily fit in 500MB. The rest of the partitions go on the usb drive. That way the root partition can be loaded at boot, find the drivers for the usb hard drive and load the necessary drivers and mount the usb partitions. Your going to have to reinstall to do that. I had lilo on my internal hard drive and that didn't work until I put the root partition on the hard drive. Edited November 18, 2003 by pmpatrick Quote Link to comment Share on other sites More sharing options...
jermyandhisbass Posted November 18, 2003 Author Report Share Posted November 18, 2003 pause (fd0) /module files root=/dev/fd0 module probeall scsi_hostadapter usb-storage && usb-storage usb-uhci pause It appears this is all I'm missing in the Grub statement. Is it possible to burn a CD in WIN XP that will allow me to pass these by way of Grub, and where do I get these modules? How would I burn the CD? Quote Link to comment Share on other sites More sharing options...
jermyandhisbass Posted November 18, 2003 Author Report Share Posted November 18, 2003 I copied the contents of the /modules directory from the Rescue CD where I am able to load the usb-storage module. I then placed a line 'module=/boot/modules.cz', and it loaded. How do I load the usb-storage module from this point? GRUB entry (hd0 is mapped to the sd0 USB drive) kernel=(hd0,4)/boot/vmlinuz root=/dev/sda5 (sda5 is where MDK 9.2 is installed) pause module=/boot/modules.cz ?????? pause initrd (hd0,4)/boot/initrd.img Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted November 18, 2003 Report Share Posted November 18, 2003 Where did you copy modules.cz to? I assume your internal hard drive. I don't know grub, but according to Gor Gor, you should do: module probeall scsi_hostadapter usb-storage && usb-storage usb-uhci Quote Link to comment Share on other sites More sharing options...
jermyandhisbass Posted November 18, 2003 Author Report Share Posted November 18, 2003 No, to the USB drive...the point I'm trying to make is that it can see the /boot directory on the USB drive. (hd0,4) is the USB drive, and therefore I am able to find the kernel, the modules, and the init image. I will trying the module probeall etc etc command, but I think it may be incorrect Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted November 18, 2003 Report Share Posted November 18, 2003 OK. that makes things clearer. Your bios is capable of booting off a usb device; the bios finds grub on the external drive and loads it into ram; grub can read your /boot directory and loads vmlinuz and initrd. This must mean grub sees your root partition. So why copy the modules to the boot directory? They should all be in /lib/modules/<kernel_name> if I'm not mistaken. Have you tried loading from there? Also, at what point do you get the kernel panic? It always happened to me when root was to be mounted. Actually, I think the message was more like "no inet found" like it couldn't see the root partition. Quote Link to comment Share on other sites More sharing options...
jermyandhisbass Posted November 18, 2003 Author Report Share Posted November 18, 2003 It is happening because it cannot find the root. I guess I may need to just give up and install the root to my internal harddrive long enough to compile a kernel with usb-storage in it (as well as the other usb modules.) With the support than integrated into the kernel it should theoretically then work. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted November 19, 2003 Report Share Posted November 19, 2003 Yeah. That's what I was going to try but I got tired of the whole project. I was just experimenting to see if I could do it anyway. Would be interested to hear your results so please post back if you do try it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.