I was refering to this page to install Arch from the 0.7 base.iso without writing the ISO file to a cd. I use grub-0.94 and placed the following lines in 'menu.1st':
kernel /isolinux/vmlinuz root=/dev/hda7 BOOTMEDIA=cd
I formatted /dev/hda7 as a 250 MB partition with ext2, which grub correctly identified(I had some problems with this, but Pechorin helped me out), and then used the 'dd' command to copy the iso to this partition.
But on booting, grub identifies the partition correctly but does not seem to be able to find any files on the partition(I went into the command line since selecting from the menu did not work, but it still gives the same error)
Error 15: File/Directory not found
Does Kernel boot ..... looking at hd(0,7) ?? > hda7 ??
"just below me"
I've never tried this before, and I only briefly read that Arch wiki you mention. However, why can't you just use the "loop" device to mount the .iso file and run it from there?
mount -t iso9660 -o ro,loop /path/wombat(?).iso /mnt/cdrom
Then, install from `/mnt/cdrom` as if it were a CD. I don't understand the necessity for all that other stuff. I mount .iso files all the time using the loop device. It's only when I need to modify the .iso itself will I copy the .iso contents to a temp directory (or partition). I don't see why you would need to modify the .iso contents, since it's just emulating a CD anyway.
Thanks for the replies.
I tried using '/dev/discs/disc0/part8' instead of '/dev/hda7' (Thanks, I hadn't thought of devfs ) but it still did not work; I think grub has to find the kernel first before it can do anything like this.
As for the mount-in-loop thing, I tried that, but all it gives is 3 dirs; 'addons, arch, isolinux'. How do I start the installation program? I can't find any command or anything to do that. :oops:
Isn't there a setup executable in arch directory? I don't have any arch's iso around to check.
ps. You could also use archbootstrap for instalation, if you have any running linux installation, normal or live. But I guess it's easier now for you to install packages from the cd instead of dowloading them once again from the net :-)
no, there's no such thing in the iso. The /arch/setup installer thingy seems to be made up on booting the install cd. It isn't there as a part of the iso itself.
Thanks for the archbootstrap tip. It seems I might have to use that. I've got a system up and working, but I still want to try this thing out, just for kicks. Thanks for the replies so far.
It never hurt to learn something new.
u can use the arch-bootstrap, or instead of dumping your iso into a partition (i think this doesnt work because startup scripts are looking for boot-cdrom... but i might be mistaken) u can try mounting the iso as loop device, chroot there, mount /proc,/sys,/dev, and try to execute the install scripts. i did it a year ago, cant remeber exactly the steps i followed... sorry :oops:
Isn't (hd0,7) hda8? and (hd0,0) hda1?
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal