You are not logged in.
Hi All,
I have installed Arch to my Lenovo T530 to dual boot with Ubuntu using UEFI and Grub.
After installation, Arch is presented to me as an option when my laptop fires up. However, if I select it, the loader goes to a purple screen and then hangs.
I have attached here the bootloader scripts for my Arch installation (not working), my Ubuntu installation (working) and the output from sudo lsblk -o name,mountpoint,label,size,uuid.
Please let me know if there is more useful information I can provide. (I have output from Bootinfoscript available but it is quite extensive).
I am hoping to find out if there is an easily fixable error in the booting scripts used by Grub. If not, I have seen the section on dual booting with Arch in the wiki. My worry is that if I resort to it, UEFI looks to be temperamental at best and I risk breaking my currently working Ubuntu installation.
Thanks and regards,
Simon
Arch boot script (not working):
setparams 'Arch (on /dev/sda4)'
insmod part-gpt
insmod ext2
set root= 'hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 -\
-hint-efi=hd0,gpt4 -hint-baremetal=ahci0,gpt4 729b5164-22c4-4c21-8212-\
66038d60943e
else
search --no-floppy --fs-uuid --set=root 729b5164-22c4-4c21-821\
2-66038d60943e
fi
linux /boot/vmlinuz root=UUID=ad4103fa-d940-47ca-8506-301d\
8071d467 rw quiet
initrd /boot/initramfs-linux.img
Ubuntu boot script (working)
setparams 'Ubuntu, with Linux 3.13.0-24-generic'
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part-gpt
insmod ext2
set root= 'hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd\
0,gpt2 --hint-efi=hd0,gpt2 -hint-baremetal=ahci0,gpt2 542bf27c-0fd5-42\
4a-b4d8-107f7cf97b75
else
search --no-floppy --fs-uuid --set=root 542bf27c-0fd5-\
424a-b4d8-107f7cf97b75
fi
echo 'Loading Linux 3.13.0-24-generic ...'
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=5\
42bf27c-0fd5-424a-b4d8-107f7cf97b75 ro quiet spash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-24-generic
Output from sudo lsblk -o name,mountpoint,label,size,uuid
NAME MOUNTPOINT LABEL SIZE UUID
sda 119.2G
├─sda1 /boot/efi BOOTLOADER 524M 9360-2939
├─sda2 / Linux_Ubuntu 34.6G 542bf27c-0fd5-424a-b4d8-107f7cf97b75
├─sda3 [SWAP] Swap 9.8G 7768ae01-6e37-450b-bf0c-d873e3fd06a1
├─sda4 Linux_Arch 32.7G 729b5164-22c4-4c21-8212-66038d60943e
├─sda5 /media/Data Data 33.2G 5a971a77-685b-43d5-a8e6-c7b407a4c2ff
└─sda6 Misc_Data 8.5G b165990d-bd25-458f-b2d6-63fae28d0870
sdb 1T
└─sdb1 1024G a1ee2f60-007a-4292-982b-7d5f8375fc7e
sr0 1024M
Last edited by simon_sjw (2015-03-22 10:43:03)
Offline
linux /boot/vmlinuz root=UUID=ad4103fa-d940-47ca-8506-301d8071d467 rw quiet
Change the UUID here. Where did that come from?
EDIT: curiously, if you DuckDuckGo search this exact UUID, it comes up a bunch of times and has caused people headaches before. If you fix that you should be okay. If anyone knows why this same exact UUID would incorrectly be created on multiple systems, I'd love to know. Seems like some kind of issue with dual/triple booting and OS-prober.
2nd EDIT: this UUID is in the default in grub.cfg. For some reason, it sometimes won't be replaced by grub-mkconfig... Maybe the user didn't run grub-mkconfig, but edited the file him or herself? simon_sjw?
Last edited by nullified (2015-03-22 03:12:36)
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline
Hi nullified,
Thanks for taking the time. Your solution worked!
To answer your question though, when I installed Arch, I used os-prober, grub-mkconfig and this video on youtube:
https://www.youtube.com/watch?v=N4G1w5mLCiY
Definitely no manual editing of files.
Frankly, the bootloader file paths are a dark art to me - had a look at a number of sites and it appears that my boot folders don't quite follow any of the rules. If you know a 'source of truth' - I'd be keen to learn how it should look.
For now I'm out of the blocks with Arch and keen to get my system into shape!
Thanks again and regards,
Simon
Last edited by simon_sjw (2015-03-22 09:59:32)
Offline
The source of truth is the Arch wiki. You really shouldn't ever use videos or third party guides. They are well-meaning, but Arch moves quick and things change.
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline