You are not logged in.

#1 2011-08-28 12:00:17

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,697
Website

booting iso from GRUB2 - almost there [solved]

I found an older thread of the same topic but didn't wanna continue the necrobumping... is this an Arch problem:

This boots the iso but hangs on "waiting 30 sec for /dev/disk/by/uuid" which I'm guessing is caused by me note passing a boot flag to the linux line?

menuentry "archlinux-2011.08.19-netinstall-x86_64 live iso" {
loopback loop (hd0,7)/archives/archlinux-2011.08.19-netinstall-x86_64.iso
linux (loop)/arch/boot/x86_64/vmlinuz findiso=/archives/archlinux-2011.08.19-netinstall-x86_64.iso boot=live
initrd (loop)/arch/boot/x86_64/archiso.img
}

Last edited by graysky (2011-08-28 16:28:29)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2011-08-28 15:28:36

ccc1
Member
Registered: 2009-04-16
Posts: 111

Re: booting iso from GRUB2 - almost there [solved]

IHMO you should use the parameters img_dev and img_loop for booting the install iso. but for me this isn't working either. the relevant part of my grub.cfg:

menuentry "Arch Linux Install (8/2011)" {
	loopback loop /boot/iso/archlinux-2011.08.19-core-x86_64.iso
	linux (loop)/arch/boot/x86_64/vmlinuz img_dev=/dev/disk/by-uuid/444B-2CCF img_loop=/boot/iso/archlinux-2011.08.19-core-x86_64.iso
	initrd (loop)/arch/boot/x86_64/archiso.img	
}

the hook archiso_loop_mnt fails at the losetup line:

 losetup: /dev/loop0 no such file or directory

and i'm dropped into a shell.
the strange thing is that /dev/loop0 exists and if i run the command that failed before manually again it works fine and after exiting the shell the live cd boots ....

ccc1

Last edited by ccc1 (2011-08-28 15:40:32)

Offline

#3 2011-08-28 15:58:51

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: booting iso from GRUB2 - almost there [solved]

its a bug, fixed now. See https://bbs.archlinux.org/viewtopic.php?id=125412 for workaround.

Offline

#4 2011-08-28 16:07:41

ccc1
Member
Registered: 2009-04-16
Posts: 111

Re: booting iso from GRUB2 - almost there [solved]

djgera wrote:

its a bug, fixed now. See https://bbs.archlinux.org/viewtopic.php?id=125412 for workaround.

cheers, for the quick reply!

ccc1

Offline

#5 2011-08-28 16:28:20

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,697
Website

Re: booting iso from GRUB2 - almost there [solved]

Nice, thanks!  Can't believe I didn't find that on the search.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB