LinuxQuestions.org
Review your favorite Linux distribution.
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 11-09-2003, 07:08 AM   #1
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Rep: Reputation: 30
Create boot disk from Linux


I normally used to create Linux bootdisks from DOS using the rawrite utility - now opting to use Linux and Linux only, I'm trying to do the same thing using linux.. I've read that I should be using the "mkboot" tool. So that's what I did - the prompt told me that that the boot disk was created successfully, but when I boot from the floppy, I get a kernel panic to try to define the root partition... But strangely enough, the lilo.conf residing in the floppy seems to be pretty in order:

lba32
boot = /dev/fd0
install = boot.b
map = map
compact
prompt
timeout = 50
read-only
image = vmlinuz
label = linux
root = /dev/hda7

Can someone indicate me what I'm doing wrong?

Thanks.. Ganninu.
 
Old 11-09-2003, 09:20 AM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,872

Rep: Reputation: 88
Quote:
using the rawrite utility
The Linux equivalent would be "dd".
Check "man dd"
Usually:
dd if="your disk image" of=/dev/fd0
 
Old 11-09-2003, 09:37 AM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Or, if you are using RedHat or Mandrake, you can use the mkbootdisk command.
Code:
mkbootdisk kernel_version
 
Old 11-09-2003, 09:46 AM   #4
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Original Poster
Rep: Reputation: 30
Yes i recall I've used that utility, but I'm a debian user now I will checkout the 'dd' command...
 
Old 11-09-2003, 11:04 AM   #5
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Original Poster
Rep: Reputation: 30
I tried the 'dd' tool, but i'm getting the same error:

Kernel panic: VFS: Unable to mount root fs on XX:YY

Is it because I'm trying to read from a non-mounted device? I also used the mkboot before and gets me to the same error - i booted with the CD and typed rescue, and i got the same error.... However I still have a boot disk which was created at the installation stage and that works. I cannot really understand the situation... And i really want to make a boot disk - you never know - a floppy disk is not a reliable medium, so having only one of it is not really reliable neither..
 
Old 11-09-2003, 11:19 AM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,872

Rep: Reputation: 88
Quote:
However I still have a boot disk which was created at the installation stage and that works .... And i really want to make a boot disk
Since you have one boot disk that works (?) I assume you mean you want a backup copy?
With your working boot floppy in the drive (not mounted):
dd if=/dev/fd0 of=mybootfloppy.img
then, with a blank floppy in the drive:
dd if=mybootfloppy.img of=/dev/fd0
Incorrect versions, partitions, parameters are some of the simple reasons for kernel panics.
 
Old 11-11-2003, 02:27 PM   #7
wuck
Member
 
Registered: Sep 2003
Location: barneveld.nl
Distribution: Slackware
Posts: 170

Rep: Reputation: 30
Sounds like you've got a corrupted image?
 
Old 11-11-2003, 03:19 PM   #8
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Original Poster
Rep: Reputation: 30
I will just use my CD if I were to do a rescue boot up ) In the future I will learn in detail how to create a boot disk because I always get the same error, even when i download a pre-compiled disk image...
 
  


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
How to Create a Windows boot disk with linux Boffy Linux - Software 2 08-06-2004 04:03 AM
Create a boot disk toddmvc Slackware 10 08-18-2003 03:32 AM
how to create a boot disk outside linux Ericy Linux - Software 6 07-23-2003 02:59 PM
how to create a boot disk vichet Linux - Newbie 3 04-20-2002 06:12 AM
how do i create a boot disk? glock19 Linux - General 7 11-16-2001 07:52 PM


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