|
|
Hi folks,
LFS 6.1
FC3 Host
Now held on Section 8.4. Making the LFS System Bootable
http://www.linuxfromscratch.org/ ... chapter08/grub.html
creating a GRUB boot floppy diskette as a backup
Having a blank vfat floppy on its drive
root:/sources/linux-2.6.11.12# dd if=/boot/grub/stage1 of=/dev/fd0 bs=512 count=1
- 1+0 records in
- 1+0 records out
复制代码
root:/sources/linux-2.6.11.12# dd if=/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1
- 198+1 records in
- 198+1 records out
复制代码
In fact it did not copy the necessary files on the floppy
root:/sources# cat /etc/fstab- # Begin /etc/fstab
- # file system mount-point type options dump fsck
- # order
- /dev/hda6 / ext3 defaults 1 1
- /dev/hda3 swap swap pri=1 0 0
- proc /proc proc defaults 0 0
- sysfs /sys sysfs defaults 0 0
- devpts /dev/pts devpts gid=4,mode=620 0 0
- shm /dev/shm tmpfs defaults 0 0
- /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
复制代码
root:/sources/linux-2.6.11.12# ls /mnt/
floppy
I tried to mount the floppy without success
root:/sources/linux-2.6.11.12# mount -t vfat /dev/fd0 /mnt/floppy/
- mount: /dev/fd0 is not a block device (maybe try `-o loop'?)
复制代码
Whether I have to format the floppy first with fs=ext3, the file system of LFS
# fdformat /dev/fd0
# mkfs.ext3 /dev/fd0
Please help. TIA
Remark: the floppy and its drive were in good condition. I have them tested on the FC3 Host. Files can be copied to the floppy, retrieved thereafter and deleted.
B.R.
satimis |
|