diff options
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index df680587f..ab4dbcc69 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -80,12 +80,7 @@ sub mkbootdisk($$$;$) { modules::load_multi(arch() =~ /sparc/ ? 'romfs' : (), 'loop'); my @l = qw(mkbootdisk --noprompt); push @l, "--appendargs", $append if $append; - if ($dev =~ /fd/) { - devices::make($dev . 'H1440'); - } else { - push @l, "--bios", 0, if $dev !~ /fd/; - } - eval { modules::load_multi(qw(msdos vfat)) }; + eval { modules::load('vfat') }; run_program::rooted_or_die($prefix, @l, "--device", "/dev/$dev", $kernelVersion); } |