|
Bugzilla – Full Text Bug Listing |
| Summary: | bootloader install onto root partition failed with Error 22 | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Olaf Hering <ohering> |
| Component: | Installation | Assignee: | Olaf Dabrunz <odabrunz> |
| Status: | RESOLVED WONTFIX | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | andreas.hanke, stefan.fent |
| Version: | Beta 1 plus | ||
| Target Milestone: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | 220839 | ||
| Bug Blocks: | |||
| Attachments: |
bug218029.tar.bz2
grub-strace.txt.gz |
||
Created attachment 103756 [details] bug218029.tar.bz2 Created attachment 103759 [details]
grub-strace.txt.gz
there are several issues here. this castrated powerbook has some sort of rEFIt installed. This piece of software can apparently write an msdos partition table signature on the available EFI disk label. While doing this, the existing ext3 partition gets msdos partition type 0xc (I think), instead of 0x83. grub itself has not filesystem type detection. If it sees the 0xc partition type, it tries to mount it as FAT, which fails. Correcting the partition type from 0xc to 0x83 allowed grub to read detect the ext3 filesystem on the partition. if parted is instructed to write something to the EFI disk label (like 'parted $driver set 4 boot on'), it will remove the msdos partition table signature. lilo and grub appearently require the msdos partition signature. and finally, the native boot method on this system is appearently EFI. So yast must not try to dump that bootloader stuff from last century on the disk, instead it probably should install something like elilo. too bad, the installed refit is appearently unable to boot the bzImage from kernel-default. Enabling CONFIG_EFI and related kernel config options did not fix it. . EFI systems have to be booted with an EFI bootloader. |
10.2b1+, boot loader install into sda4 failed: inst-sys:~ # cat /mnt/var/log/YaST2/y2log_bootloader GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> setup --stage2=/boot/grub/stage2 (hd0,3) (hd0,3) Error 22: No such partition grub> quit inst-sys:~ # parted /dev/sda print Disk /dev/sda: 80.0GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 20.5kB 210MB 210MB fat32 primary boot, , , , , , , , , , , 2 210MB 40.4GB 40.2GB hfs+ primary , , , , , , , , , , , 3 40.4GB 41.2GB 819MB fat32 primary , , , , , , , , , , , 5 41.2GB 46.5GB 5292MB linux-swap primary , , , , , , , , , , , 4 46.5GB 79.9GB 33.4GB ext3 primary boot, , , , , , , , , , , Information: Don't forget to update /etc/fstab, if necessary.