LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-17-2005, 11:23 AM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Rep: Reputation: 45
howto create floppy boot disc on debian sarge ?


hi

howto create floppy boot disc on debian sarge ?

greetings
cccc

Last edited by cccc; 10-17-2005 at 11:30 AM.
 
Old 10-17-2005, 03:26 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Which boot manager are you using?
 
Old 10-17-2005, 03:29 PM   #3
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
man mkboot
 
Old 10-18-2005, 05:27 AM   #4
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Original Poster
Rep: Reputation: 45
I'm using GRUB
 
Old 10-18-2005, 05:49 AM   #5
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Rep: Reputation: 31
fdformat /dev/fd0

mk2fs /dev/fd0
mount -t ext2 /dev/fd0 /mnt/floppy
grub install --root-directory=/mnt/floppy (fd0)
cd /boot/grub/grub.conf /mnt/floppy/boot/grub/grub.conf

umount /mnt/floppy


and finally www.google.com
 
Old 10-18-2005, 03:04 PM   #6
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Original Poster
Rep: Reputation: 45
thanks,

but it seems, these commands don't work on debian sarge
 
Old 10-18-2005, 03:26 PM   #7
yanik
Member
 
Registered: Oct 2003
Location: Montreal Beach
Distribution: Debian Unstable
Posts: 368

Rep: Reputation: 30
Quote:
Originally posted by cccc
thanks,

but it seems, these commands don't work on debian sarge
Replace mk2fs with mke2fs

or you could do it the debian way, debian provides a simple tool called mkboot:

Quote:
mkboot makes a bootdisk. By default the bootdisk will use the kernel /vmlinuz and the current root partition. Use the -r option to specify a different partition, and provide the new kernel file directly to specify a different kernel. Use the -d option to specify a different device for the floppy drive. If invoked with the -i option, it tries to make a Debian GNU/Linux system bootable after a new kernel was installed by /sbin/installkernel. If ELILO is installed, it runs /usr/sbin/elilo. If GRUB is installed, it does nothing. If LILO is in use, it runs /sbin/lilo. If SILO is installed, it does nothing. Otherwise, mkboot will make a new bootdisk.
You can type mk then press tab 2 times at the prompt to list all tools to create file systems.
 
  


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
Howto Boot to CLI w/ Debian Sarge 3.1 renato167 Debian 3 10-25-2005 02:42 AM
howto update webmin by debian sarge stable ? cccc Debian 2 10-14-2005 03:31 PM
Net-install Debian Sarge HOWTO? Stimz Linux - Newbie 3 08-14-2005 04:25 PM
How to create a linux VPN using Debian Sarge jwedeking Linux - Security 1 08-12-2005 05:04 PM
howto enable logging from BIND 9 on Debian Sarge ? cccc Debian 2 07-07-2005 06:43 PM


All times are GMT -5. The time now is 12:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration