You are not logged in.

#1 2009-12-18 21:24:45

el_cammello
Member
From: Italy
Registered: 2009-03-20
Posts: 70
Website

[Solved] archiso live: install grub

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 smile

Last edited by el_cammello (2009-12-30 21:19:55)


Sorry for my bad english :-)

Offline

#2 2009-12-18 22:42:56

Harlequin
Member
Registered: 2009-07-28
Posts: 25

Re: [Solved] archiso live: install grub

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

#3 2009-12-19 03:29:13

uwinkelvos
Member
Registered: 2009-06-07
Posts: 129

Re: [Solved] archiso live: install grub

grub-install --root-directory=/bootmnt /dev/sd[instert the right device here probably "a"]

does that work?

Offline

#4 2009-12-19 04:40:50

el_cammello
Member
From: Italy
Registered: 2009-03-20
Posts: 70
Website

Re: [Solved] archiso live: install grub

uwinkelvos wrote:

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

200912190538241440x900s.th.png


Sorry for my bad english :-)

Offline

#5 2009-12-30 01:16:07

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [Solved] archiso live: install grub

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

#6 2009-12-30 21:19:10

el_cammello
Member
From: Italy
Registered: 2009-03-20
Posts: 70
Website

Re: [Solved] archiso live: install grub

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 smile
I love too this distribution cool


Sorry for my bad english :-)

Offline

Board footer

Powered by FluxBB