You are not logged in.
Pages: 1
I'm trying to install grub on a disk from a live created with Archiso.
There is a directory in /, "bootmnt", that contains boot and grub directory, in the grub directory there isn't "device.map", and the /bootmnt is read-only.
So I've copied /bootmnt/boot to /boot, then I've generated "device.map" with --device-map option, and finally I've tried to use grub:
grub> root (hd0,0) -> ok
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1"exists... no
Error 15: File not found
grub>
but /boot/grub/stage1 exists!
What is wrong? Thx
Last edited by el_cammello (2009-12-30 21:19:55)
Sorry for my bad english :-)
Offline
Are you sure it is the right partition you pointing grub to? For me this error had driven me crazy at my very last archlinux install, just because i was using the wrong hd.
Offline
grub-install --root-directory=/bootmnt /dev/sd[instert the right device here probably "a"]
does that work?
Offline
grub-install --root-directory=/bootmnt /dev/sd[instert the right device here probably "a"]
does that work?
I can't run that command, because the file device.map is missing, and I can't insert it in that directory because it's read-only
Sorry for my bad english :-)
Offline
Uh wait a sec. You created an iso with a recent git checkout of archiso and you can't boot because grub won't install? Reason is, we switched off grub support in archiso and thus you now have to create a isolinux version. It's easy and there is a sample that shows you what to do.
Offline
Thanks for your support.
But I had already solved, it was a problem of path of directory. The problem was another: From live (that works), I could not run a script to install the Live to hd, but I've corrected and now it's ok.
this my baby
I love too this distribution
Sorry for my bad english :-)
Offline
Pages: 1