You are not logged in.

#1 2009-04-16 20:20:37

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

installation of grub only to a separate partition

I have a unique setup partition-wise:

Two HDD's
HDD #1:
/dev/sda1 (Windows)
/dev/sda2 (Windows data)
/dev/sda3 (GRUB)

HDD #2:
/dev/sdb1 (Arch)
/dev/sdb2 (Sidux)
/dev/sdb3 (swap)
/dev/sdb4 (EXTENDED PARTITION)
/dev/sdb5 (/home)
/dev/sdb6 (/data)

Anyway, I currently have an older version of Grub on /dev/sdb3 which does nothing but chain load the grub on /dev/sdb1 and /dev/sdb2.  I'd like to update it w/ Arch's grub (i.e. ability to boot to ext4 partitions).  If I'm booted into Arch, is it as simple as:

# grub-install /dev/sda3

Followed by copying over my custom menu.lst to that partition?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2009-04-17 02:48:46

darthaxul
Member
Registered: 2008-09-24
Posts: 156

Re: installation of grub only to a separate partition

Anyway, I currently have an older version of Grub on /dev/sdb3... thats ur swap so u must mean sda.
once u overwrite the grub on sda3 with ur command, u append ur custom menu to that new one.

Offline

#3 2009-04-18 01:22:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: installation of grub only to a separate partition

# grub
> root hd(0,2)
> setup (hd0)

http://wiki.archlinux.org/index.php/Grub


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2009-04-18 08:48:58

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: installation of grub only to a separate partition

Darn it!  The above allows me to boot, but I think the grub that is used isn't the ARCH grub.  I say that because I cannot directly boot my Arch root partition which is ext4; I have to chainload it to the actual arch partition's grub.  How can I make sure that the ext4 patched grub that comes w/ 2009.2 is getting installed?

Last edited by graysky (2009-04-18 09:45:38)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2009-04-18 13:42:39

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: installation of grub only to a separate partition

Did you do the following steps in arch?


Website - Blog - arch-home
Arch User since March 2005

Offline

Board footer

Powered by FluxBB