should warn about /boot on lvm when using lilo

Bug #35548 reported by Norbert Kiesel
10
Affects Status Importance Assigned to Milestone
lilo (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

I tried to use a lv for /boot. That failed with "lilo does not recognize boot partition" or so very late in the install. I'd assume grub failed as well, therefore it tried lilo as fallback. Although ultimately stupidity on my part the lead to this, I'd have several remarks/suggestions:
1) warn about /boot on a lv during partiotioning
2) warn about grub failing instead of silently try to use lilo

Some more problems I faced later on: I then stepped back in the installer to the partioning and tried to shrink the vg to make space for a normal partion for /boot. I initially had used all available space in the vg. That failed in various steps:
1) vg could not be shrunk.
2) Deleted the lv /home => vg could still not be shrunk
3) Tried to delete all lv => did not work because /swap was already in use

Then I restarted the whole installation. That made the installer to be tun in resuce mode automatically (not sure if that's good or not). I then deleted the lv /sqp and the vg, then created a new vg with 500MB less size. However, I already had 3 primary partitions, so the remaining space was unusabe. After some head-scratching I figured out what I did wrong, deleted the vg again and first made a logical partition and created /boot and the vg in that. Would have been nice to get a better error message here.

Revision history for this message
Colin Watson (cjwatson) wrote :

This seems to be a problem with the text-mode installer, not the live CD installer. Correct me if I'm wrong.

Revision history for this message
Phoenix591 (phoenix591) wrote :

is this still relevant? I don't have any non live isos or cds around to test this with? I don't like old bugs ...... especially bug # 1.

Revision history for this message
Norbert Kiesel (nk-iname) wrote : Re: [Bug 35548] Re: dapper pre5 amd64 should warn about /boot on lvm

On Tue, 2008-01-01 at 05:05 +0000, Kyle Elbert wrote:
> is this still relevant? I don't have any non live isos or cds around to
> test this with? I don't like old bugs ...... especially bug # 1.
>

Actually no idea, I did not install a fresh system in a long time. I
could try to set up a kvm instance and try it there if you want me to
(but not before next weekend).

Happy new year!

</nk>

Revision history for this message
Colin Watson (cjwatson) wrote : Re: dapper pre5 amd64 should warn about /boot on lvm

I think at least some of this is still an issue; it would be good to warn about use of lilo vs. grub earlier on (in a check.d script), and

Changed in debian-installer:
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

... and I don't think we support VG resizing yet. (Sorry, I accidentally hit save too soon there.)

Phillip Susi (psusi)
summary: - dapper pre5 amd64 should warn about /boot on lvm
+ should warn about /boot on lvm when using lilo
affects: partman-lvm (Ubuntu) → lilo (Ubuntu)
Changed in lilo (Ubuntu):
importance: Medium → Wishlist
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.