[Bug 216222] New: boot partition too small with lvm proposal
https://bugzilla.novell.com/show_bug.cgi?id=216222 Summary: boot partition too small with lvm proposal Product: openSUSE 10.2 Version: Beta 1 Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: yast2-maintainers@suse.de ReportedBy: olh@novell.com QAContact: jsrain@novell.com CC: power-bugs@forge.provo.novell.com the 0x41 prep boot partition as created with 'use whole disk and remove existing partitions and also do a lvm proposal without extra home partition but no evms please' is only 8mb on a 40G IDE disk. The boot loader cant be installed because the kernel+initrd+booloader do not fit on an 8mb FAT partition. On SLES10 and earlier, if using 'whole disk', the 0x41 prep boot partition was around 16mb. inst-sys:~ # chroot /mnt su - -c lilo running on chrp Boot target is /dev/hda1 ERROR: Boot partition '/dev/hda1' cannot hold 24588 blocks inst-sys:~ # fdisk -l Disk /dev/hda: 40.0 GB, 40007761920 bytes 255 heads, 63 sectors/track, 4864 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 1 1 8001 41 PPC PReP Boot /dev/hda2 2 4864 39062047+ 8e Linux LVM Disk /dev/dm-0: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1: 2147 MB, 2147483648 bytes 255 heads, 63 sectors/track, 261 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/dm-1 doesn't contain a valid partition table inst-sys:~ # dd if=/dev/hda1 | wc -c 8193024 16002+0 records in 16002+0 records out 8193024 bytes (8.2 MB) copied, 0.336943 s, 24.3 MB/s inst-sys:~ # cat /mnt/etc/lilo.conf # Modified by YaST2. Last modification on Mon Oct 30 11:17:02 UTC 2006 activate timeout = 80 boot = /dev/hda1 default = linux image = /boot/vmlinux ###Don't change this comment - YaST2 identifier: Original name: linux### label = linux append = " quiet sysrq=1 panic=42" initrd = /boot/initrd root = /dev/system/root inst-sys:~ # -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216222 ------- Comment #1 from olh@novell.com 2006-10-30 05:12 MST ------- Created an attachment (id=103015) --> (https://bugzilla.novell.com/attachment.cgi?id=103015&action=view) bug216222.tar.bz2 logs from crowberry.suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216222 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |fehr@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216222 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |olh@novell.com ------- Comment #2 from fehr@novell.com 2006-10-30 08:46 MST ------- The value of minimal needed boot size is set to 5MB since ages. No problem to change that but there are other pretty small numbers for other boot partitions too, here is an excerpt of the code please specify what to change: minimal_needed_bootsize = 64 * 1024 * 1024; if( Arch::ia64() ) { minimal_needed_bootsize = 200*1024*1024; } else if( Arch::board_chrp() ) { minimal_needed_bootsize = 16*1024*1024; } else if( Arch::board_prep() ) { minimal_needed_bootsize = 5*1024*1024; } else if( Arch::board_iseries() ) { minimal_needed_bootsize = 8*1024*1024; } else if( Arch::board_mac() ) { minimal_needed_bootsize = 32*1024*1024; } } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216222 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|olh@novell.com | ------- Comment #3 from olh@novell.com 2006-10-30 08:48 MST ------- this is board_chrp, not board_prep is the rounding going wrong? I can try a whole disk install if needed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216222 ------- Comment #4 from fehr@novell.com 2006-10-30 09:00 MST ------- YaST2 executed "mkpart primary ext2 0 1" which should create a partition of size two cylinders but does not for strange reasons. Will have a closer look. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216222 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Fixed in Milestone|--- |Beta 1 plus ------- Comment #5 from fehr@novell.com 2006-10-30 09:36 MST ------- Forget my last comment parted was fine. Bug was in code the created vm based proposal with primary boot partitions. Will be fixed in beta1plus and SLES10 SP1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216222 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com