LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-11-2003, 08:42 PM   #76
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58

When you boot from the cd with bare.i your booting the kernel from the cd not your installed kernel.
 
Old 05-11-2003, 08:43 PM   #77
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
then how can i boot with the installed kernel? Can i do it from the CD? or do i need a bootdisk or lilo to work?
 
Old 05-11-2003, 08:46 PM   #78
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
Can you boot without the cd?
 
Old 05-11-2003, 08:48 PM   #79
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
When i try to boot without the cd, it treis to load lilo but i get LI and i dont have a boot disk for the new kernel because i am pretty sure it is too big to make one.
 
Old 05-11-2003, 09:01 PM   #80
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
I think lilo saying LI has something to do with LBA32 (where it said Warning: LBA32 addressing assumed) Can this be changed to something else?
 
Old 05-12-2003, 02:46 PM   #81
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
Should i maybe recompile everything again and before i reboot run /sbin/lilo?
 
Old 05-12-2003, 03:22 PM   #82
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
LBA32 just means that you have a large hard drive (or lilo thinks you have a large hard drive), to remove this message all you need to do is add a line to lilo.conf that says 'LBA32' (and rerun lilo - you always have to rerun lilo after modifing the lilo.conf). The LI is a lilo error code, it means ' The first stage boot loader was able to load the second stage boot loader, but has failed to execute it.'
I think your getting this error message because you have your current lilo.conf set to install to /dev/hda1 (in the line 'root = /dev/hda1), which is not the mbr, change it to 'root = /dev/hda', rerun lilo and reboot.
 
Old 05-12-2003, 03:51 PM   #83
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
I think we may be getting somewhere, i did what you said, change root=/dev/hda1 to root=/dev/hda and rebooted...still gave me LI. But then i changed the part that said boot=/dev/hda1 to boot=/dev/hda and Lilo started!!! I had 2 options slack (new) or linux (old) obviously i booted slack but while it was starting i got this error (crushed my hopes lol ):

ds: no socket drivers loaded! (<---- Dont know if that has something to do with it)
kernel panic:VFS: Unable to mount root fs on 03:00.

I have no clue what that means, i was hoping you could help me out?

*edit*

Just found this, maybe it can help?

Quote:
the boot device is described to the kernel in the form of a number. if you
look in the file $KERNEL_SOURCE/init/main.c you'll see a listing of these
numbers and the devices they represent; search for the variable
"root_dev_names". for example "/dev/hda" is 0x0300, "/dev/hda1" would be
0x0301, and so forth. nfs is actually 0x00ff. 0x0100 is ram0 so my assumption
is that 0x0101 is ram1.

did you enable ram disk support and initrd (under block devices) in your
kernel?

at the very end of compiling a kernel, the build system will usually tell you
what root device has been set as the default in the kernel. also, look in the
kernel's top-level "Makefile", search for the variable "ROOT_DEV". the
comments in the instructions above that variable tell you what you can do
with it.

smarter boot loaders (like lilo) will allow you to specify the root device
which it can then pass on to the kernel as it boots. consult your boot loader
documentation (i.e. lilo documentation) if that's what you're using.
the
simple "linux loader" boot loader that i'm using which comes with my zflinux
system only knows how to tell the kernel that the disk is a ramdisk, ram0.
this is the only device that can be used with this bootloader and i don't
have any way to change it.

*edit #2*

Ok, i tried making it so root=/dev/hda1 but boot=/dev/hda. I tried booting slack again and i got a new error:

EXT2-fs: ide0(3,1): couldnt mount because of unsoported optional features (4)
kernel panic:VFS: Unable to mount root fs on 03:01. (note beore it was 03:00)

So now, should i put root= back to /dev/hda or /dev/hda1???

Last edited by DiZASTiX; 05-12-2003 at 04:19 PM.
 
Old 05-12-2003, 05:21 PM   #84
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
When you installed Slackware, where did you make your root partition?
 
Old 05-12-2003, 05:28 PM   #85
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
I think in /dev/hda1. Also before when Aussie asked me to post the output of fdisk -l /dev/hda i got this:
Quote:
Device: /dev/hda1
Boot: *
Start : 1
End" 807
Blocks: 6100888+
Id: 83
System: Linux

Device: /dev/hda3
Boot:
Start : 808
End" 833
Blocks: 196560
Id: 82
System: Linux Swap
 
Old 05-12-2003, 06:24 PM   #86
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
Boot should look like this:
Quote:
# Start LILO global section
append="opl3=0x388"
boot = /dev/hda
Root should look like this:
Quote:
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = slack
read-only
image = /boot/vmlinuz.old
root = /dev/hda1
label = Linux
read-only
 
Old 05-12-2003, 06:33 PM   #87
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
Thats what is was, and it gave me:

EXT2-fs: ide0(3,1): couldnt mount because of unsoported optional features (4)
kernel panic:VFS: Unable to mount root fs on 03:01.
 
Old 05-12-2003, 07:13 PM   #88
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
Did you change anything in your bios?
 
Old 05-12-2003, 07:17 PM   #89
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
No...should I, and if so how and what
 
Old 05-12-2003, 07:19 PM   #90
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
I may have a solution, trying to track down how to do it. We may need to switch from 'lba32' to 'linear'.
I just have to find out how to do it.
 
  


Reply



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
Sound server informational message: Error while initializing the sound driver... LA004 Linux - Hardware 4 08-21-2005 08:25 PM
Sound Server Error rapont Slackware 1 07-31-2004 08:40 AM
Sound server fatal error :/ jasonmcneil0 Linux - Newbie 5 10-29-2003 04:22 PM
Sound server error! syncerr Linux - Hardware 1 07-20-2003 11:12 AM
Sound I/O server error Randyland Linux - Newbie 3 08-01-2002 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:11 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
Open Source Consulting | Domain Registration