diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-28 12:56:26 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-28 12:56:26 +0000 |
commit | 5fd046ac65b74d9b9b5c18bbb9579329f4036c49 (patch) | |
tree | 7787538c42e634c8e9935866048bfcfb282a7ef8 /make_boot_img | |
parent | f902492a01c974283c9c800ddbd5de651c474c25 (diff) | |
download | drakx-backup-do-not-use-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar drakx-backup-do-not-use-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar.gz drakx-backup-do-not-use-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar.bz2 drakx-backup-do-not-use-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar.xz drakx-backup-do-not-use-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.zip |
no_comment
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make_boot_img b/make_boot_img index 09b1b9222..ea4533faf 100755 --- a/make_boot_img +++ b/make_boot_img @@ -39,9 +39,9 @@ sub initrd { __ "$sudo umount $tmp $mnt 2>/dev/null"; _ "dd if=/dev/zero of=$tmp bs=1k count=2000"; _ "echo y | mke2fs $tmp"; - _ "$sudo mount $tmp $mnt -o loop"; + _ "$sudo mount -t ext2 $tmp $mnt -o loop"; _ "$sudo cp -a $instdir/$inst1/* $mnt"; - _ "sudo cp -f install_${type}_modules/* $mnt/modules/" if -d "install_${type}_modules"; + _ "$sudo cp -f install_${type}_modules/* $mnt/modules/" if -d "install_${type}_modules"; _ "$sudo cp -f modules/${type}_modules.cgz $mnt/modules/modules.cgz"; _ "$sudo cp -f modules/modules.dep $mnt/modules/"; _ "$sudo umount $mnt"; @@ -54,7 +54,7 @@ sub boot_img { __ "$sudo umount $mnt 2>/dev/null"; _ "bunzip2 -c $instdir/installinit/emptyboot.img.bz2 > $img"; - _ "$sudo mount -o umask=0 $img $mnt -o loop"; + _ "$sudo mount -t msdos -o umask=0 $img $mnt -o loop"; _ "cat vmlinuz > $mnt/vmlinuz"; initrd("${mnt}2", "$mnt/$type.rdz"); |