LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-11-2001, 07:04 PM   #1
Scerj
LQ Newbie
 
Registered: Feb 2001
Location: Yakima
Posts: 18

Rep: Reputation: 0
Angry


Alright, I am making a homemade boot/root disk. I have read the Bootdisk HOWTO. If I format a disk with the usual 1.4 meg, I can dd my kernel and root file system onto the disk and they boot just fine. But when I format a disk to a higher capacity "ie. fdformat /dev/fd0u1722", then when I boot, the kernel uncompress, then simply reboots. Here are the commands I use to make the floppy:

dd bs=1k if=/tmp/zImage of=/dev/fd0u1722
rdev /dev/fd0u1722 /dev/fd0u1722
rdev -R /dev/fd0u1722 0
rdev -r /dev/fd0u1722 16668 (my kernel take 284 blocks)
dd bs=1k if=rootfs.gz of=/dev/fd0u1722 seek=284

Then I reboot. Also, when I format to 1722k but when I use /dev/fd0 to refer to the floppy in all the commands, then the disk will boot as long as I don't write more then 1.44 meg on the floppy. weird. I have an IBM thinkpad, 266MMX. Thanks for your time!
 
Old 02-15-2001, 03:41 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Just my opinion, but why reinvent the wheel? Tomsrbt is the most Linux you can get on a floppy and you can customize his very easily for your own applications.

http://www.toms.net/rb/
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lilo hangs on XP load : XP & Linux on diff. disks Lagg Linux - Software 6 08-29-2005 03:25 AM
kernel driver load/boot order devacom Linux - Hardware 1 11-04-2004 07:41 AM
Boot disks??!?! Laxin22 Linux - Software 1 02-16-2002 07:04 PM
Making custom kernel..but drivers and modules wont load on boot skoal Linux - General 10 12-06-2001 06:59 PM
Homemade Boot/root disk trouble Scerj Linux - General 2 05-20-2001 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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