Bug 396635

Summary: Bootloader: Unable to upgrade LABEL-mounted system
Product: [openSUSE] openSUSE 10.3 Reporter: Lukas Ocilka <locilka>
Component: YaST2Assignee: Jozef Uhliarik <juhliarik>
Status: RESOLVED FEATURE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: abittner, condic
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lukas Ocilka 2008-06-03 09:04:08 UTC
Originally reported by Andreas Bittner:

See https://bugzilla.novell.com/show_bug.cgi?id=330705#c29

--- cut ---
hi there,

back to this bug again, i did an opensuse 10.1 to 10.3 upgrade.


the workaround at
http://en.opensuse.org/How_To_Upgrade_System_with_Separate_/var_Partition

is not complete / faulty. did you guys actually try what you have written and
documented there? :(

first of all, labeling a mounted partition doesnt work at all, i get constant
error "-3024" or such from the yast "disk" module when trying to set the label
for the /var partition and change the mounting style still in the old 10.1
system.


second the screenshot
http://files.opensuse.org/opensuse/en/7/78/YaST-Disk-FstabOptions.png

clearly displays the radiobutton at "mount device by name", although the device
label field is filled out and the whole workaround is supposed to mount the
/var by label, so the radiobutton "volume label" needs to be selected ofcourse,
otherwise it doesnt do anything at all to fstab.

and then there is the issue that the volume label apparently cant be
changed/written to a mounted partition, and booting into the old system uses
all the partitions, thus needing to go to "init S" / single user mode and
dismount all the disks as /var is a essential partition to many processes and
stuff that needs to be actively dismounted and programs and daemons ended so
that the /var partition can be cleanly dismounted and then the yast disk module
being able to write its label stuff.


finally, the whole process (upgrade to 10.3) didnt really work after all, the
label stuff not helping that much.

the packets get installed/upgraded so far so good, but the bootloader
installation at the end fails utterly.

i tried to look around in /etc and in /boot and all kinds of places where there
could be some leftovers and problems, but during the last steps where the 10.3
upgrade tries to write the grub bootloader it gives many errors.

i will upload the yast2 log directory. please do analyze the logs and fix this
grub bug. i still havent managed to start this messed system.

grub complains about missing bootup-screens (thats not really a problem), then
the textmode grub startsup but then it gives all kinds of errors with old and
new /dev/sda and /dev/hda errors and all that stuff and never boots anything.

i tried to bootup some rescue / live cd opensuse and tried to look around and
fix some stuff, but to no avail, im not that of a grandmaster in fixing
opensuse upgrade messes :(

thanks.

Created an attachment (id=219640) [details]
yast2 logdirectory from 10.1 to 10.3 upgrade - grub error even when using var
with label

here come the yast2 logs from the opensuse 10.1 to 10.3 upgrade when using a
disklabel for /var partition.
--- cut ---
Comment 1 Lukas Ocilka 2008-06-03 09:05:18 UTC
Ah, sorry it's 10.3, not 11.0
I'll check it with 11.0
Comment 2 Jozef Uhliarik 2008-07-07 12:33:50 UTC
*** Bug 402101 has been marked as a duplicate of this bug. ***
Comment 3 Jozef Uhliarik 2008-07-08 08:53:36 UTC
Fate #302219