You are not logged in.

#1 2008-07-05 19:00:53

william7
Member
Registered: 2008-06-18
Posts: 32

how install grub... again

Now I have installed grub to non-arch partition with other linux os.

How install grub to arch partition?

Offline

#2 2008-07-05 19:27:33

meandean
Member
Registered: 2008-06-24
Posts: 67

Re: how install grub... again

grub
root (hd0,6)
setup (hd0)
quit


adjust root for whichever drive/partition you want to 'control' grub
adjust setup for your drive


Even a chicken can install Debian, when you put enough grain on the enter key.

Offline

#3 2008-07-05 21:12:21

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

Re: how install grub... again

Also it is worth noting that grub partitions are one less than the real partition.

For example:

/dev/sda7 would be (hd0,6) for grub
/dev/sdc3 would be (hd2,2) for grub


Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.

Offline

#4 2008-07-06 01:13:49

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: how install grub... again

Statix wrote:

Also it is worth noting that grub partitions are one less than the real partition.

For example:

/dev/sda7 would be (hd0,6) for grub
/dev/sdc3 would be (hd2,2) for grub

^ Though this is theoretically correct, always double check, especially if you have more than one hard drive. With libata/PATA, hd controllers switch around in goofy ways sometimes. On my system, my sda becomes sdb randomly, though in BIOS it is always first in the boot order and GRUB always sees it as hd0.
(Hence the move to UUID)

Yeah, that's right. I called up Skeletor and said "Yo, my sda is now sdb!"
and he's like, "Yo, we'll go to UUID's, then."

Offline

#5 2008-07-06 02:38:16

meandean
Member
Registered: 2008-06-24
Posts: 67

Re: how install grub... again

how about this.... grub starts counting at 0 not 1


Even a chicken can install Debian, when you put enough grain on the enter key.

Offline

#6 2008-07-06 02:57:35

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: how install grub... again

meandean wrote:

how about this.... grub starts counting at 0 not 1

True, yes. The weird thing is that hd0,0 is not necessarily sda1 from boot to boot anymore, since libata/PATA has all but screwed up the predictable behavior we all became used to years ago. (Especially if you have more than one hard disk and more than one on board disk controller.)

Offline

Board footer

Powered by FluxBB