Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-28-2005, 03:52 PM   #1
LQ Newbie
Registered: Feb 2005
Location: Leeds, UK
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
Kernel & Syslinux Boot Disc

I have finally managed to get my 2.6.11 kernel small enough with the necessary modules compiled into it.

However, when I boot from the FD which was created by typing make bzdisk at the prompt. all appears to be working well until it starts looking for the root device and I get the following error.

VFS: Cannot open root device "<NULL>" or unknown-block(3,1)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)

I know I need to specify the root device, which I believe will be /dev/sda. However I'm not sure how to specify this seeing as the boot disk contains 3 files none of which are editable, and it boots without a prompt (where I would usually specify such a command as root=/dev/sda.

Could someone tell me where I need to specify the root device (I'm guessing before the disk is compiled) , but not sure what is required and where.

Thank you in advance.
Old 04-28-2005, 05:02 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
You specify it in the syslinux configuration file, SYSLINUX.CFG, in the root directory of the boot floppy. See the APPEND option in the syslinux documentation.
Old 04-29-2005, 06:17 AM   #3
LQ Newbie
Registered: Feb 2005
Location: Leeds, UK
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the prompt reply, however it raises a couple of questions.

Surely this assumes that you have run fdisk and created the linux partitions?

Where as I have only got as far as compiling a new kernel to boot the machine in to a state where it can see the 3Ware RAID controller and the 4 disks on that controller.

Is there an alternate way forward as this doesn't seem to work.

As I understand it, the disks should appear as /dev/sd* but how can I tell what device it will use if I cannot boot the machine to a state to see what is within /dev

Thank you in advance.




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
syslinux can't boot leihsun Linux - General 1 02-01-2006 04:42 PM
First boot i get: SYSLINUX 2.06 Boot Failed? davidh_R Slackware - Installation 2 11-19-2005 01:59 AM
trouble with syslinux for usb flash boot swipple Linux - Newbie 1 01-07-2005 01:13 AM
Kernel image for syslinux bootable floppy??? the_rydster Linux - General 1 02-22-2004 01:55 PM
CAVEAT: /boot/kernel.h & how not to clobber your kernel sources (Conectiva, Red Hat) JCCyC Member Success Stories 0 08-07-2003 07:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 AM.

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