You are not logged in.

#1 2009-10-29 16:42:35

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 319

boot arch netinstall iso from grub2

http://www.panticz.de/MultiBootUSB
I found this blog post and I successfully did it with linux mint but I couldn't do it with arch. what are the correct grub2 commands?

I tried with:

set root=(hd0,1)
loopback loop /arch.iso
linux (loop)/boot/vmlinuz26 iso-scan/filename=/arch.iso
initrd (loop)/boot/System.map26

I have no idea what System.map26 is and grub2 didn't choke when I offered it to him so I tried it. I couldn't find the normal initrd file.
Moreover, I know that there should be some boot=something parameter to the kernel in order for it to work but I couldn't guess the right one and I found no documentation about it.

If someone did it, I would appreciate your help smile
Thanks.

Offline

#2 2009-11-10 19:26:11

jordanwb
Member
From: Ontario, Canada
Registered: 2008-07-01
Posts: 151

Re: boot arch netinstall iso from grub2

This is what I have:

menuentry "ArchLinux 2009-08 Core 64bit" {
 set root=(hd0,1)
 loopback loop /boot/iso/archlinux-2009.08-core-x86_64.iso
 linux (loop)/boot/vmlinux26 iso-scan/filename=/boot/iso/archlinux-2009.08-core-x86_64.iso quiet
}

Get I get a "File not found" error.

*Edit*

I found /boot/grub/menu.lst (inside the iso) and found this:

title  Boot Arch Linux Live CD
kernel /boot/vmlinuz26 lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_KE1AECIE ramdisk_size=75%
initrd /boot/archiso_pata.img

There's the path for the initrd

*Edit #2*

"You need to load the kernel first." Well duh. You're supposed to do that grub.

Last edited by jordanwb (2009-11-10 19:37:19)

Offline

#3 2010-11-14 02:34:59

youarefunny
Member
From: Toronto, Canada
Registered: 2010-11-13
Posts: 42

Re: boot arch netinstall iso from grub2

jordanwb wrote:

This is what I have:

menuentry "ArchLinux 2009-08 Core 64bit" {
 set root=(hd0,1)
 loopback loop /boot/iso/archlinux-2009.08-core-x86_64.iso
 linux (loop)/boot/vmlinux26 iso-scan/filename=/boot/iso/archlinux-2009.08-core-x86_64.iso quiet
}

Get I get a "File not found" error.

I think your problem is that (hd0,1) is you main harddrive and you are trying to boot from a USB.  If your iso is on the same partition you don't need to specify a partition.  ( Just ignore the set root line ) else you need to find where you usb gets mounted.

Offline

Board footer

Powered by FluxBB