You are not logged in.

#1 2010-10-31 19:02:34

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

[SOLVED] Can I install Arch on the same PC, without a CD/USB/Netboot

Hello

I'm kinda bored, and then I like to reinstall Arch over and over.. but I lack a CD/USB stick and/or another PC to do a PXE install, therefor..

Can I set up my current installation to boot into a new arch install when I reboot somehow?

Thanks.

Last edited by valvet (2010-11-08 14:50:16)

Offline

#2 2010-10-31 19:11:00

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] Can I install Arch on the same PC, without a CD/USB/Netboot

Sure.. two examples:
https://wiki.archlinux.org/index.php/Fa … nux_System (use swap for the iso and convert it back later)
https://wiki.archlinux.org/index.php/In … ting_Linux
or extract kernel & initrd from archboot image, save it somewhere and create a grub entry - works fine for net installs

Offline

#3 2010-10-31 19:14:02

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

Re: [SOLVED] Can I install Arch on the same PC, without a CD/USB/Netboot

hokasch wrote:

Sure.. two examples:
https://wiki.archlinux.org/index.php/Fa … nux_System (use swap for the iso and convert it back later)
https://wiki.archlinux.org/index.php/In … ting_Linux
or extract kernel & initrd from archboot image, save it somewhere and create a grub entry - works fine for net installs

Ah, how could I miss the wiki pages.. I must be really bad at searching :-). Good, I'll check it out, thanks!

A net install is fine, that's really all I need.

- m

Last edited by valvet (2010-10-31 19:14:34)

Offline

#4 2010-10-31 19:47:16

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

Re: [SOLVED] Can I install Arch on the same PC, without a CD/USB/Netboot

hokasch wrote:

Sure.. two examples:
https://wiki.archlinux.org/index.php/Fa … nux_System (use swap for the iso and convert it back later)
https://wiki.archlinux.org/index.php/In … ting_Linux
or extract kernel & initrd from archboot image, save it somewhere and create a grub entry - works fine for net installs

Ok I thought it was solved, but I was wrong.. here's what I did, hopefully you or someone else can help.

Downloaded the netinst image (160mb), copied:

/mnt/iso/boot/archiso.img > /boot/archiso.img
/mnt/iso/boot/vmlinuz26 > /boot/vmlinuz26-test

Edited /boot/grub/menu.lst according to /mnt/iso/boot/isolinux.cfg

# test
title Arch test install
root   (hd0,0)
kernel /vmlinuz26-test
initrd /archiso.img archisolabel=ARCH_201005 tmpfs_size=75% locale=en_US.UTF-8

Now, whenever I boot this.. it says "Waiting 30 seconds for device /disk-by/uid.. lots of dots here.

Ideas? I'd like to avoid making a new partition as suggested in the wiki, as it requires me to load a live cd of sorts anyway, so I can shrink one of my partitions.

Thanks :-)!

Last edited by valvet (2010-10-31 19:48:05)

Offline

#5 2010-10-31 19:53:22

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] Can I install Arch on the same PC, without a CD/USB/Netboot

As said before, you could use swap partition (if you have one) to hold the iso in the "quick install" method above.

For the kernel & initrd method, you will need to take them from the unofficial archboot iso (infos about archboot are in the release thread -> announcements subforum and in the readme).

Last edited by hokasch (2010-10-31 19:56:47)

Offline

Board footer

Powered by FluxBB