summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
Commit message (Collapse)AuthorAgeFilesLines
* (sort_hds_according_to_bios): when installing on floppy, $boot_hd is ↵Pascal Rigaux2004-07-121-3/+3
| | | | undefined, but that's ok (bugzilla #10260)
* remove unneeded spaces in append=" foo"Pascal Rigaux2004-07-061-0/+1
|
* write_lilo handles "optional"Pascal Rigaux2004-07-061-0/+1
|
* rename varPascal Rigaux2004-07-061-17/+17
|
* cleanupPascal Rigaux2004-07-061-2/+1
|
* cleanupPascal Rigaux2004-07-061-12/+13
|
* big renaming of field {type} to {pt_type},Pascal Rigaux2004-07-051-1/+1
| | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number
* drop "other" entries in grub conf when the device is unknownPascal Rigaux2004-07-051-3/+8
|
* - handle missing root=/dev/xxx kernel commandline parameterPascal Rigaux2004-07-051-6/+7
| | | | | - handle grub splashimage option
* oops, revert debugging codePascal Rigaux2004-07-051-1/+1
|
* fix typoPascal Rigaux2004-07-031-1/+1
|
* fix typoPascal Rigaux2004-07-011-1/+1
|
* - mkinitrd() calls make-boot-splash after building the initrdPascal Rigaux2004-06-291-47/+121
| | | | | | | | | | | | | (since /sbin/mkinitrd doesn't do it anymore) - change mkinitrd() parameters - change add_kernel() parameters and add option b_no_initrd (it is available in installkernel though i suspect it is unused) - after reading config file, get {perImageAppend} and {default_vga} (it was only done for lilo and {perImageAppend}) - keep the current kernel for linux-nonfb too (it was only done for failsafe) - add create_link_source(), action(), when_config_changed_{lilo,grub,yaboot} - create write_yaboot()
* after install, when modifying kernel parameters in all entries, skip the ↵Pascal Rigaux2004-06-281-1/+3
| | | | | | | "failsafe" entry (bugzilla #10143)
* when adding a new kernel, have a nicer new name for conflicting entryPascal Rigaux2004-06-251-3/+8
|
* when modifying a symlink, ensure we also use the long name for the old ↵Pascal Rigaux2004-06-251-15/+38
| | | | symlink in the existing entries
* fix 2 typosPascal Rigaux2004-06-251-1/+1
|
* drop obsolete functionPascal Rigaux2004-06-251-8/+0
|
* drop obsolete lnx4win_file()Pascal Rigaux2004-06-251-5/+0
|
* major cleanup and rewritePascal Rigaux2004-06-251-359/+419
| | | | | | | | | | | | | | | | | | | | - some functions have been renamed - some functions have changed prototype - no more bootloader::vga_modes, we use Xconfig::resolution_and_depth::bios_vga_modes() - no more detectloader, it is now detect_main_method(), but notice that bootloader::read() + bootloader::write() abstract all this! - update_for_renumbered_partitions() is surely broken :) - sort_hds_according_to_bios() and mixed_kind_of_disks() uses new function hd2bios_kind() - new data structure "kernel_str" - lilo doesn't need so much help as it used to be, so don't put as much "disk=/dev/sda bios=0x80" as before some goals: - don't rely on device names (this allows not to care too much about devfs vs udev vs ...) - kernels can be named something else than /boot/vmlinuz*, please use the various functions to construct the initrd file name, the symlink name...
* add check_enough_space() and use itPascal Rigaux2004-06-221-3/+7
|
* - fix typoPascal Rigaux2004-06-221-107/+6
| | | | | - remove silo code (sparc)
* (write_grub_config) do not write partial config file (thus garbaging previousThierry Vignaud2004-06-011-16/+15
| | | | | config) if an error occured
* perl now handle cleanly utf8 string in exceptions, no need to die \N("...")Pascal Rigaux2004-04-051-2/+2
|
* (method_choices) blacklist again Savage, they're broken again :-(Thierry Vignaud2004-03-261-3/+1
|
* - preferring "p3-smp-64GB" first (for BIGMEM + SMP)Pascal Rigaux2004-03-241-5/+4
| | | | | | - also adding i686-up-4GB - cleanup code
* fix extension parsing (vmlinuz-2.6.3-7mdksmp & vmlinuz-2.6.3-7mdkenterprise ↵Pascal Rigaux2004-03-241-1/+1
| | | | vs vmlinuz-2.6.3-7mdk-p3-smp-64GB & vmlinuz-2.6.3-7mdk-i686-up-4GB)
* sorting based on @prefered is nearly unused, remove itPascal Rigaux2004-03-241-4/+1
|
* LSB doesn't need kernel 2.4 anymorePascal Rigaux2004-03-231-2/+4
|
* - always generate a precise entry using the precise versionPascal Rigaux2004-03-111-16/+7
| | | | | | - remove the linux-2.4 or linux-2.6 entries which don't work together with the precise version entry - still have the "linux" entry
* spell Mandrakelinux in one wordThierry Vignaud2004-03-101-1/+1
|
* (read) default to lilo if grub config file isn't there (workaroundThierry Vignaud2004-03-021-1/+1
| | | | | buggy detectloader only checking MBR)
* bugzilla #8133 says "VT8751 [ProSavageDDR P4M266] VGA Controller" (0x5333,Pascal Rigaux2004-03-021-1/+3
| | | | | | 0x8d04) has no pb with graphical lilo. So only keeping the restriction for (0x5333, 0x8d03), hoping that's what fpons wanted.
* if the default bootloader entry is invalid, choose another onePascal Rigaux2004-03-021-1/+5
|
* (update_for_renumbered_partitions):Pascal Rigaux2004-02-201-9/+13
| | | | | | | - handle no grub config - skip modifications when dev2grub fail (since the device not in device.map means the device is currently unused for booting)
* remove bad entries after reading existing conf filePascal Rigaux2004-02-171-2/+4
|
* log where the bootloader is installedPascal Rigaux2004-02-171-1/+1
|
* fix reading grub config (esp. when /boot is a separate partition)Pascal Rigaux2004-02-131-22/+24
| | | | | (nb for titi: join($xx, $yy) is *not* useful)
* try hard to update_bootloader_for_renumbered_partitions()Pascal Rigaux2004-02-131-0/+43
|
* create read_grub_device_map()Pascal Rigaux2004-02-131-1/+6
|
* in get_kernels_and_labels():Pascal Rigaux2004-02-121-16/+15
| | | | | | | - change internal data structure - change regexp matching kernel names (was broken for 2.4.25-0.pre7.3mdk) - default to kernel 2.4 when lsb is installed
* special way to remove mem=<memsize>Pascal Rigaux2004-02-061-1/+1
|
* please perl_checkerPascal Rigaux2004-02-061-1/+1
|
* following quintela's lilo change, allowing lilo labels up to 31 charactersPascal Rigaux2004-02-061-1/+1
|
* workaround buggy installkernel that left default value be geater thanThierry Vignaud2004-01-201-0/+2
| | | | | | | | | the current number of entries, thus making drakboot displaying (default-entries_count) spurious "()*" entries which then results in writing back bogus grub conf file. kernel team should just be shuted down :-(
* cleanup sanitize_ver (re-synced with common.pm from bootloader-utils)Pascal Rigaux2004-01-191-29/+15
|
* add a warning telling to run lilo after modifying the lilo.conf (bugzilla #6924)Pascal Rigaux2004-01-191-25/+26
|
* don't modify {append} after add_kernel(), call add_kernel() directly with ↵Pascal Rigaux2004-01-151-6/+16
| | | | | | | the append parameter (so that comparison with previous entries is done correctly)
* drop keytable line in grub config file since grub doesn't handle it anymorePascal Rigaux2004-01-081-1/+0
| | | | | (patch dropped long ago in grub 0.90-3mdk)
* - simplify lilo boot message. Not mentioning the timeout parameter fixes ↵Pascal Rigaux2004-01-081-22/+3
| | | | | | | | bugzilla #5429 - remove /boot/grub/messages and don't use the i18n command which are obsolete since grub doesn't handle it anymore