Bugzilla – Bug 150762
An error can leave system unusable
Last modified: 2007-05-10 11:49:11 UTC
Suse Installation formats /boot if asked, but it writes bootloader after initial package installation from CD1 . If there is a powercut, or there is some error after formatting the /boot , it will just leave the system unusable and no bootable parition(e.g. windows) can be booted. So there is a need to write bootloader before package installation and just after erasing /boot . Fortunately I was able to recover from error without rebooting the computer. Otherwise, my system could have been unusable totally. Assuming that Everyone starts installation from CD would be foolish. There are people like me , who likes to install from Harddisk.
There is still a possibility to repair an abborted installation which would also repair the bootloader. And if /boot is getting formatted, it is clear that writing the bootloader makes no sense with no content on this partition, would you agree? Let's wait for a comment of the module maintainer.
Well, what is the possibility to repair the aborted instllation? I meant to say that /boot should be written right after its formatting. There are two possibilities :- 1. format /boot and write immediately the /boot records . and if that is not possible (because it requires some packages to be installed before) then 2. format /boot and bootloader just before when it writes bootloader and /boot records(I mean grub).
Olaf? Please provide a comment.
Both can't be done. 1. as you said, we need quite a few things installed (writing the bootloader is done changerooted after installation) We might be able to manage this with grub, as its able to read the filesystem, but this won't work with other bootloaders (eg lilo) 2. can't be done because somewhen during installation, the kernel gets installed, and after this we can't format the partition anymore As it's not required to have such a partition, and with only a '/' partition this entire request is undoable. (The reasons are valid for all SUSE versions) I'll close this invalid