LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 08-09-2006, 06:22 PM   #1
asbarrett
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Booting Slackware 10.1 off a USB hard drive, getting a kernal panic


Hello,
I installed Slackware 10.1 onto a Fantom Drives 250GB USB hard drive. I partitioned half of it for linux, the other half for use in windows. The installation went fine, and I installed LILO onto the superblock of the linux partition. When I try to boot off of the USB hard drive, it gets so far (maybe 2 pages of boot text), and I get the following:

Kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno=2
vfs: cannot open root devices "802" or 08:02
Please append a correct "root=" boot option
Kernal panic: VFS: unable to mount rootfs on 08:02

where it then proceeds to freeze.

I'm still pretty new to linux, I have installed Slackware 10.1 on an older computer, with only one internal drive and it being the only OS on it, and have had it run fine.

Any suggestions?

Thank you!
 
Old 08-10-2006, 03:57 AM   #2
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 380

Rep: Reputation: 37
You will need to get back into 10.1 using the rescue disk because you will possibly need to compile the Kernel to create these modules instead of having them included in the Kernel -

jbd.o
ext3.o
scsi_mod.o
sd_mod.o
usbcore.o
uhci.o
usb-storage.o

This is what I did or will do when I upgrade to Slackware 11.00 using the 2.4 series Kernel.

Install/upgradepkg slackware onto the USB drive;
without rebooting compile the kernel to generate the required modules see

http://www.linuxquestions.org/questi...5&pagenumber=2
for the modules required
create the initrd image with the required modules;
create a boot cd, with the kernel and initrd;
test to ensure that you can boot from the cd;
do the lilo/grub, I use lilo - Slackware standard, business so that you can boot into slackware from the USB drive. This is the fun bit as if you're not careful you will overwrite the boot sector of your internal hard drive. If this happens get a live distro with testdrive-static so that you can recreate the win boot thingy on the internal hard drive.

I've been running with Slackware on a 20GB USB drive for several years upgrading through various releases in the process.

Good Luck
 
Old 08-10-2006, 02:46 PM   #3
RobF
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Rep: Reputation: 0
You'll probably have to custom build an initial ramdisk (initrd) and insert a sleep 10 command into the linuxrc that's part of the initrd and also put a rootdelay=10 entry in your lilo.conf. You should probably also install slack's LILO in the MBR of the external USB hard drive rather than in the superblock of its install partition.

For details, take a look at the following threads:

http://www.linuxquestions.org/questi...d.php?t=470883

http://groups.google.com/group/alt.o...2330a1a7139e10

http://support.zenwalk.org/index.php/topic,2387.0.html

Robert
 
Old 08-10-2006, 03:06 PM   #4
RobF
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Rep: Reputation: 0
You'll probably have to custom build an initial ramdisk (initrd) and insert a sleep 10 command into the linuxrc that's part of the initrd and also put a rootdelay=10 entry in your lilo.conf. All that you can probably do on the other system that has slack 10.1 on it (using mkinitrd) and then simply copy over the finished initrd.gz to your USB drive.

You should probably also install slack's LILO in the MBR of the external USB hard drive rather than in the superblock of slack's install partition.

For details, take a look at the following threads:

http://www.linuxquestions.org/questi...d.php?t=470883

http://groups.google.com/group/alt.o...2330a1a7139e10

http://support.zenwalk.org/index.php/topic,2387.0.html

Robert
 
  


Reply

Tags
usb boot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting from hard drive in USB enclosure android6011 Linux - General 5 08-01-2006 10:27 PM
Booting from USB hard drive gbacsf Linux - Newbie 6 10-23-2005 09:52 AM
Booting Linux on USB Hard Drive chittagupta Linux - Hardware 2 08-29-2004 05:53 PM
Booting up with a USB hard drive? phar1944 Linux - Newbie 4 10-17-2003 10:15 PM
Booting from a USB hard drive?? justiceisblind Linux - Newbie 4 05-24-2002 04:50 PM


All times are GMT -5. The time now is 09:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration