FS#28803 - Error - AIF generates UUID but doesn't Boot

Attached to Project: Release Engineering
Opened by Larry Kraemer (lkraemer) - Tuesday, 06 March 2012, 14:14 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 26 November 2012, 04:53 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version 2011.08.19
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I've tried creating my USB Flash Drive Partitions with /dev/sdbX & UUID multiple times. Since the future change to udisks versus /dev/sdbX and the removal of udev I can't get a functional, booting system when creating from the ISO for 2011.08.19. (I've added usb right after udev in the HOOKS section of mkinitcpio.conf during the initial setup in AIF.)

When I create with /dev/sdbX and finish AIF, then reboot from USB I get a filesystem errors. It doesn't seem to matter if I use Gparted to create my USB Partitions, or the AIF partition & setup utilities. For /dev/sdbX the /boot/grub/menu.lst information matches /etc/fstab. But, somehow the filesystem has been corrupted, and I can't get it repaired.

If I use UUID to create my USB Flash Drive, the /etc/fstab entry is for my UUID, but the /boot/grub/menu.lst
entry is still for /dev/sdbX and it doesn't boot. If I edit the grub menu.lst entry before I boot, or during
boot, I can change the entry to .......root=/dev/disk/by-uuid/123456789-6543-4321-0123456 ro, but once again the system thinks there is a filesystem error and drops in a maintenance mode to fix the errors. I can never repair the filesystem to get it repaired.

Somehow, I did get two USB Flash Disks installed and upgraded to use for testing, but lately I can't even get
one to boot after using AIF. It should be noted that I've tried a multitude of the Release ISO's (Core & Netinst) later than 2012.02.22 and none of the ones I've tried create a bootable system with /dev/sdbx or UUID, for one error or another. See my other ERROR Report.

It should be easy for you to duplicate this error as I've just followed the AIF menu selections, changing only the following:
Added usb after udev in HOOKS /etc/mkinitcpio.conf (Upon an upgrade udev is removed - udisks upgrade)
verified /etc/fstab info
Added mirror in /etc/pacman.d/mirrorlist
Looked at /boot/grub/menu.lst entries and changed hd1,0 to hd0,0 for both entries.

On boot of the USB device you should see the same errors I've seen for the past 5 days, without ever getting to use pacman to upgrade, and re-install udev etc.

There seems to be some disconnect between the change/upgrade to udisks versus udev & UUID. (I didn't try with LABELS, only with /dev & UUID)


Larry





This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Monday, 26 November 2012, 04:53 GMT
Reason for closing:  Deferred
Comment by Larry Kraemer (lkraemer) - Tuesday, 06 March 2012, 20:30 GMT
When I tried the 2012.03.06-14-30-01 ISO today, with the corrected AIF, I still got filesystem errors as show in the pacmanlog4.jpg.
Once again, it didn't matter if I created the Partition and filesystem with Gparted or the AIF utilities. The ERRORS were still generated.

REF:  FS#28774  for pacman log Photo's

Attached are the Photo's of the aif.log

Larry
Comment by Larry Kraemer (lkraemer) - Wednesday, 07 March 2012, 02:55 GMT

The odd thing is I just inserted a used 120 Gig Seagate Drive and installed Arch 2012.03.06-14-30-01 using /dev/sda1 and everything
worked perfectly. As a matter of fact I'm posting this from my XFCE4 Desktop, using the exact same printed instructions as I was using
on the 4 Gig Centon USB Flash Drive for the past 5 days with no luck. I'm not sure if it has to do with ext3 versus ext2 or some
unusual thing going on with the Centon Flash Drive and the partitions/filesystem.

If you have suggestions or things I can try that will give you more information, I'm willing to do what it takes to help.

Thanks. I love Arch Linux! SWEET!

Larry



Comment by mehdi sohrabi (mehdok) - Tuesday, 13 March 2012, 19:16 GMT
this sorts work for me
1. detach your hard drive(this is the key point. i don't know why)
2. choose manual partitioning and partition your usb
3. in the configuration make some change :
in the file "menu.lst"(it's grub menu; /boot/grub/menu.lst) the line should look like this:
root (hd0,0)
kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/yourUsbUUID ro
initrd /boot/initramfs-linux.img

the "fstab" file(/etc/fstab) should look like :
/dev/disk/by-uuid/yourUsbUUID / ext2 defaults 0 1

and finally you must add "usb" in the "HOOKS" line after "udev" in the "mkinitcpio.conf" file
(/etc/mkinitcpio.conf)

Loading...