Re: bootloader issue

From: Meinolf Sander (crap.1.f13_at_neverbox.com)
Date: 01/07/04


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


Relevant Pages

  • Re: Stupid questions about doing a fresh reinstall of XP Home SP2
    ... Mort wrote: ... install on the first, the installation should not use your second at all. ... Will I be able to tell setup to format the first partition and then ...
    (microsoft.public.windowsxp.general)
  • Re: Windows set-up
    ... there is no need to apologise, you posted where you thought was appropriate ... Incidentaly I'm 'playing' with this install, it is not actually going to ... first partition of the first available drive, ... SBS public Newsgroups: ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: remote install of 6.2
    ... I want to get this remote machine running 6.2, ... install the new OS on the second disk, then boot off the second disk, ... I figure this is because the install process has changed a bit ... Use that to boot the machine - download the ISO and burn it if needed ...
    (freebsd-questions)
  • Re: remote install of 6.2
    ... I want to get this remote machine running 6.2, ... install the new OS on the second disk, then boot off the second disk, ... I figure this is because the install process has changed a bit ...
    (freebsd-questions)
  • Re: Administration Tools Pack
    ... 2k3 R2 you would have to run adprep from the first CD of the R2 set to prepare the Win 2k schema for Win 2k3 and you would have to run adprep from the second disk of the R2 set to prepare the schema for the R2 features. ... Try running adprep from the second disk of the R2 set on the schema master, then try to install the tools. ...
    (microsoft.public.windows.server.setup)