Emulating a boot disk for kernel 2.6
- mkbootdisk_________version 1.5.1
- Cdrecord-Clone_____version 2.01a28-dvd (i686-pc-linux-gnu)
Open a terminal and log as "root":
[jp@Mandrake tmpfs]$ su -
Determine the version of your kernel with the command "uname-r":
[root@Mandrake root]# uname -r
Create image file
Now it's time to create the boot image (.iso)
[root@Mandrake tmpfs]# mkbootdisk --device cdbootdisk.iso -v --iso 2.6.3-19mdk
Installing isolinux... done
Copying /boot/vmlinuz-2.6.3-19mdk... done.
Copying /boot/initrd-2.6.3-19mdk.img... done.
Configuring bootloader... done.
Size of boot image is 4 sectors -> No emulation
- --device </path/file>
- The boot image is created on the special file </path/file>. If --device is not specified, /dev/fd0 is used.
- Display the process(image creation)on screen.
- --iso <kernel>
- The version of your kernel.
Verification of file and its size( "ls -lh"):
[root@Mandrake tmpfs]# ls -lh
-rw-r--r-- 1 root root 2,0M mar 17 12:22 cdbootdisk.iso
It still remains burn our image on a CD-R or CD-RW. For that we'll use the command "cdrecord".
Note that: since kernel version 2.6, the CD/DVDBurners are no longer emulated as "SCSI" devices as it was the case for the 2.4 kernel. Thus we no longer need to use the command "cdrecord-scanbus" to determine the parameters to pass to the "dev=", simply enter the direct path to your device, such as "dev=/dev/hdd".
- For those who wish to use a CD-RW, start by erasing oit:
- Once blank, burn your "iso":
- Reboot your system, and configure the BIOS to boot from the CDrom first ...
Published by jak58
Latest update on December 15, 2010 at 09:15 AM by jak58.