Re: bootloader issue
From: Meinolf Sander (crap.1.f13_at_neverbox.com)
Date: 01/07/04
- Next message: Leon.: "Re: multiple partition?"
- Previous message: Leon.: "Re: multiple partition?"
- In reply to: David Tangye: "Re: bootloader issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 7 Jan 2004 10:55:46 +0100
* David Tangye wrote:
> I want to install grub onto the first disk, and get it to boot linux
> which is installed on the first partition of the second disk.
> What is wrong with my logic, as per my fake comments below -
>
> /sbin/grub --batch --read-only <<EOT >$HOME/installGrub.log
If you use "--read-only", nothing will be written to the devices.
> # Set grub to boot linux from disk 2, partition 1
> root (hd1,0)
Correct (assuming the GRUB stages files are there).
> # Install grub on MBR of disk 1 (can't remember why I added (hd1,0) but
> info grub led me to believe its necesssary (maybe the 2nd stage is to
> reside there)
> setup (hd0) (hd1,0)
No, (hd1,0) is wrong -- this would install GRUB into the boot sector of
the first partition of disk 2. So simply "setup (hd0)" should do it in
your case.
Meinolf
-- > I'm killfiling you for 30 days, for the same reason that I don't answer my > door on Sundays unless someone has called in advance: Shit, dude, you kill-filed me last week for 60 days. Can't you even do kill-files right? -- Alan Connor and Captain Dondo in c.o.l.misc
- Next message: Leon.: "Re: multiple partition?"
- Previous message: Leon.: "Re: multiple partition?"
- In reply to: David Tangye: "Re: bootloader issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|