LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-29-2007, 06:47 AM   #1
jamesstanley
LQ Newbie
 
Registered: Oct 2007
Location: Cheltenham
Distribution: Debian, plan to switch to compiling everything
Posts: 6

Rep: Reputation: 0
Compiling kernel, VFS problems, 2.6.23.1


I am trying to make a bootable floppy disk at the moment.
I have installed GRUB to the disk and compiled linux 2.6.23.1 with:
Code:
make allnoconfig #fits it in a floppy
make menuconfig #enabled: ext2, block devices, misc devices
make bzimage
I then put the System.map, vmlinuz, and config files in /boot on the floppy. I unmounted the floppy and stuck it in my spare computer. GRUB loaded. I gave it the kernel command, and typed boot. It went through a lot of stuff, most of which I don't pretend to understand. The lines that are of importance, the last three, are:

Code:
VFS: Cannot open root device "fd0" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
[Note: none were listed]
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
So, my question is, what did I miss out in my kernel compilation, or what files do I need to include on the floppy, or what extra kernel options (other than root=/dev/fd0 and ro) do I need?

Thanks
 
Old 10-30-2007, 10:22 PM   #2
hiren_bhatt
Member
 
Registered: Oct 2005
Distribution: FC3,Debian
Posts: 127

Rep: Reputation: 15
Quote:
Originally Posted by jamesstanley View Post
I then put the System.map, vmlinuz, and config files in /boot on the floppy.
Use mkbootdisk command to create the boot disk. You have to give the kernel name for which u want to make the boot disk.

e.g. mkbootdisk 2.4.20 or /sbin/mkbootdisk 2.4.20 (in case the mkbootdisk is not in the path)
Try it out.
 
Old 11-02-2007, 02:45 PM   #3
jamesstanley
LQ Newbie
 
Registered: Oct 2007
Location: Cheltenham
Distribution: Debian, plan to switch to compiling everything
Posts: 6

Original Poster
Rep: Reputation: 0
Aah. That worked, thanks!
 
  


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
Compiling Linux Kernel - VFS error. Help. sceadu Red Hat 1 03-14-2005 08:42 AM
Kernel 2.6 compiling problems phekno Slackware 5 01-15-2005 10:35 AM
problems compiling kernel 2.6.8.1 dominica Linux - Newbie 1 10-17-2004 06:58 AM
Kernel 2.6.4 bootup problems (VFS error) rincewind Linux - General 12 04-07-2004 08:57 PM
Problems compiling the kernel Wiggum Slackware 4 07-22-2003 03:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:37 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