LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-11-2005, 09:55 AM   #16
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30

Well assuming your using slax. When you login with root the first thing to do is make sure it mounted your partitions under /mnt. Assuming that its correct then you just do a 'mount -t proc proc /mnt/sda1/proc'. Then do 'chroot /mnt/sda1'. You're now "in" that partition. Now just edit lilo.conf and fstab accordingly changing all references from hda to sda. Then do a 'lilo' and you're done. Just type 'exit' and then 'reboot' and you should see lilo come up and then choose the kernel you want and voila, everything should boot just fine.
 
Old 07-11-2005, 10:00 AM   #17
c0rderr0y
Member
 
Registered: Feb 2004
Distribution: Kubuntu
Posts: 71

Rep: Reputation: 15
oh i see any way of doing this with knoppix 3.9? thats what i tried using but gives me access errors....

Fatal: open /dev/sda: Permission denied

Last edited by c0rderr0y; 07-11-2005 at 10:06 AM.
 
Old 07-11-2005, 10:09 AM   #18
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
I dont know. The reason I used slax was because It uses a newer 2.6 kernel which means its using the SCSI low level SATA drivers. Thats why it changes it to sda instead of hda. Because the SATA drivers now reside in the SCSI interface branch. If knoppix is recognizing your HD as sda then there should be no problems. do 'cat /proc/partitions' and see whats listed. It should tell you all the device partitions. If no sda listed then it wont work with knoppix. I know slax works though. It's not a very big d/l. 192megs. See the problem is if knoppix doesn't see it as sda then you cant change lilo and have it use sda. It's going to use what the devices are available on the current system. Basicly, lilo isn't going to let you tell it that it should run off HDD device "dkfjkjdf83u" because it's not going to exist. Same thing if knoppix isn't seeing it as sda. Lilo doesn't see an sda device so it's not going to try to install itself to one since it technically doesn't exist.

Oh and I won't be able to reply till later as it is morning here and I just got off work. Sleepy time.

Last edited by Namaseit; 07-11-2005 at 10:12 AM.
 
Old 07-11-2005, 11:20 AM   #19
c0rderr0y
Member
 
Registered: Feb 2004
Distribution: Kubuntu
Posts: 71

Rep: Reputation: 15
thanks i figured it out for running lilo what i had to do with knoppix was

#mount -o dev /mnt/sda3

#chroot /mnt/sda3 lilo
 
Old 07-11-2005, 11:33 AM   #20
abrouwers
Member
 
Registered: May 2005
Location: Michigan
Distribution: Slackware -current
Posts: 98

Rep: Reputation: 37
Wrong...it is a terrible idea to use a 2.4 config on a 2.6.x family kernel.

The only other cause is that you forgot to compile IDE/SATA stuff statically (NOT moduled) into the kernel. Check that out...happend to me a few times too.

Hope that helps
 
Old 07-11-2005, 07:35 PM   #21
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
Not only is it a terrible idea but it also won't work. Period. The config's are setup completely different. If you tried to use a 2.4 config you would get never ending errors.
 
Old 12-01-2005, 11:22 AM   #22
mmatis
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you for all of your replies! I'm sorry that I started this thread and disappeared. Had some family things going on that took me away for awhile (good things mostly). Anyway, I've still got the same problem, however Namaseit's suggestions might have the most promise I think. I will try that later today. Also, will changing all the hda entries in lilo.config prevent my 2.4 kernel from booting?

Last edited by mmatis; 12-01-2005 at 11:53 AM.
 
Old 12-03-2005, 10:02 PM   #23
mmatis
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
WooHoo! Namaseit, your hypothesis and proposed fix worked! Thank You!
 
  


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
VFS: Unable to mount root fs pappsynz Linux - Newbie 10 10-07-2005 07:02 AM
VFS : Unable to mount root fs on 16:03 new.thing Slackware 5 07-05-2005 09:55 AM
VFS Unable to mount root fs on 00:00 thelandrew Linux - Newbie 9 03-30-2004 01:25 AM
VFS: unable to mount root fs -Dice Linux - Newbie 20 11-04-2003 01:05 PM
VFS: unable to mount root fs wgast77 Linux - General 5 07-30-2003 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:59 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration