LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-21-2006, 01:41 PM   #1
nerez
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
Slackware 10.2 on USB hard drive Boot problem


I installed slackware 10.2 kernel 2.4.31 on a USB hard drive. I installed the lilo on the root partition of the drive and when i boot off the drive lilo will freeze up with just L on the screen. I know this means there is a disk error somewhere but i havnt had any luck finding it. I tried booting with a bootdisk using: mount root=/dev/sda1. it starts to boot but eventually goes to a error cannot mount root file system kerenel panic. If someone could help me out or has any input i would greatly appriciate it.


Nerez
 
Old 09-21-2006, 02:34 PM   #2
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 397

Rep: Reputation: 33
I've experienced similar problems from IDE drives when installing LILO to the root partition. One possibility that I could think of is to install LILO to the MBR of the USB drive, at least this has worked for me on IDE devices. It should be similar in most cases. If you were able to boot from a bootdisk, then this would appear to be part of the problem. As for why you are receiving a kernel panic, the only suggestion that I could make would be an incorrect and/or missing setting from the compiled kernel.

Last edited by swampdog2002; 09-21-2006 at 02:38 PM.
 
Old 09-21-2006, 03:20 PM   #3
nerez
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Ok i installed lilo to MBR and got it to come up. It starts to boot but then says the same thing the boot disk did. Kernel panic cannot mount root /dev/sda2. I think the problem is it might be trying to mount the root filesystem before it installs the USB drive. Could someone tell me how i could change it to install the usb drive before it trys to mount the filesystem?

Nerez
 
Old 09-21-2006, 04:23 PM   #4
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 318

Rep: Reputation: 30
try changing lilo to look for /dev/sr0 (or sr1 according to which usb port you are using) instead of /dev/sda2...for usb hard drive.

Couldn't get my external usb cdrewriter drive to work until I figured out it was mounted on sr0, you may have to change fstab to mount from the usb the same way.
 
Old 09-21-2006, 04:40 PM   #5
nerez
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Its /dev/sda. Because i can boot of the install cd, then mount /dev/sda /mnt/sysimage. I just need to figure out how to get it to probe of usb devices before it mounts the root filesystem.

Nerez
 
  


Reply


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
can't boot from usb: how to boot linux from ext. hard drive? bernhardtjeff Linux - Newbie 5 07-07-2006 02:42 AM
how to install a usb hard drive in slackware 10.1...? sugar2 Linux - Hardware 7 02-15-2006 02:43 PM
USB Hard Disk Drive In Slackware goofy871 Linux - Hardware 1 07-30-2005 11:38 AM
boot problem after Slack 10 install to usb Hard drive... Elohist Slackware 2 08-04-2004 01:42 PM
USB Hard drive not detected in Slackware 9.0 setup. landfill Slackware - Installation 3 12-25-2003 04:55 PM


All times are GMT -5. The time now is 04:16 PM.

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