kickstart howto 9 axie2m7apwiq3u2plthh5eco6fetedly6wtefgq AXIE2M7APWIQ3U2PLTHH5ECO6FETEDLY6WTEFGQ


RedHat Linux KickStart HOWTO: Mounting the boot/supp disks 9. Mounting the boot/supp disksThe RedHat boot disk boot.img is in MS-DOS format, using the SYSLINUX program to boot up. The supplementary disk supp.img is a Linux ext2 filesystem. If you have support for the loopback filesystem in your Linux kernel, you can mount both of these files in your filesystem and hack at them: # mkdir -p /mnt/boot /mnt/supp # mount -o loop -t msdos boot.img /mnt/boot # mount -o loop supp.img /mnt/suppNow you should be able to see and manipulate the files on the boot and supplementary disk under /mnt/boot and /mnt/supp respectively. Phew! Note that older versions of mount may not be able to handle the -o loop option. In these cases you'll need to explicitly use losetup to configure the loopback device for each file, e.g. # losetup /dev/loop0 boot.img # mount -t msdos /dev/loop0 /mnt/bootYou might also need to explicitly use the -t ext2 option when mounting an ext2 filesystem like on the supplementary disk. But, it looks like people with modern Linux distributions shouldn't have to worry about this.Of course, if you don't want to mess around too much, you can cut a corner and manipulate actual floppy disks rather than these floppy disk images. If time is important, you'll probably prefer to use the loopback devices, since you can hack around with the disk images without incurring the latency associated with a genuine floppy disk read/write. 0

Wyszukiwarka

Podobne podstrony:
kickstart howto 8 el2pf37qy32jmh3umb3bdnrv2ip6ams6bjbwxcq
kickstart howto 6 dshzxbk5zq2awe64ou5ihdejoop5yafbnpzdsxa dshzxbk5zq2awe64ou5ihdejoop5yafbnpzdsxa
kickstart howto 4 aexfdwxxalmaehi3lv7ul6wavea5d56upcmoraq
kickstart howto 11 nn6keb5t565cbh7um22vd5i76mpbgvvdmfzkfoq nn6keb5t565cbh7um22vd5i76mpbgvvdmfzkfoq
kickstart howto 3 dimgyhoiqxb6zz5j4q72eu5f7tfufxratjuxuta
kickstart howto 14 tjtc5g7tziulutu37xcwdwb5txoozlylo46aaei
kickstart howto 5 u6dwbc4orzguhkuefgzqhzwory4ubuxjd5u3shy
kickstart howto 7 rrmewwyuzt3tamk4aunqfxcvimujofen4bug7bq rrmewwyuzt3tamk4aunqfxcvimujofen4bug7bq
kickstart howto oj7lxakbwaw2pdosrtnqnduu6exghlg65mptuby
kickstart howto 10 e7j6owfhutetmuvwn7gmi6aaul5x5tncotulnsa e7j6owfhutetmuvwn7gmi6aaul5x5tncotulnsa
kickstart howto 12 vidqovo2di2yuzkw3muu4wqvgibfc77ik4eilgi
bootdisk howto pl 8
PPP HOWTO pl 6 (2)
NIS HOWTO pl 1 (2)
kernel howto 3 clbigwpagydoy3epnkmic3ys7wlqwsg4rlwwgvq clbigwpagydoy3epnkmic3ys7wlqwsg4rlwwgvq
consultants howto 18

więcej podobnych podstron