January 22, 2021, 12:57:16 AM

News : LinuxSolved.com Linux Help Community Forum..

Author Topic: making boot disk  (Read 5134 times)

Offline guru

  • Linux Noob !
  • *
  • Posts: 4
making boot disk
« on: November 10, 2003, 04:57:08 PM »
how to make boot disk after installtion ....
i know we have to use mkbootdisk command wat r the option we must give for it......
wat r the content there will be in bootdisk ...

advanced Thank you!

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
making boot disk
« Reply #1 on: November 10, 2003, 09:20:25 PM »
To make a boot disk after installation u have gui utility in almost every newer version of Linux distro, better to use that .. but if u want to make urself.. then.

Grub uses two stage for booting.. so u have to copy to stage files found /usr/share/grub as stage1 and stage2 so follow the following command..

for grub...
Code: [Select]
cd /usr/share/grub/i386-pc
 dd if=stage1 of=/dev/fd0 bs=512 count=1 # this will write on first sector

 dd if=stage2 of=/dev/fd0 bs=512 seek=1  # This will skip the first sector so write on second sector.