Re: grub.conf has disappeared -- FC2 / WinXP-SP2
From: KZ (kz_at_duh.org)
Date: 09/12/04
- Next message: John Stumbles: "Re: how to mount usb digicam on SuSE 9.1?"
- Previous message: SIP3261: "RED HAT LINEX 9.0 INSTALLATION PROBLEM"
- In reply to: imotgm: "Re: grub.conf has disappeared -- FC2 / WinXP-SP2"
- Next in thread: Nico Kadel-Garcia: "Re: grub.conf has disappeared -- FC2 / WinXP-SP2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 12 Sep 2004 13:16:54 GMT
On Sun, 12 Sep 2004 05:43:22 +0000, imotgm wrote:
> On Sat, 11 Sep 2004 21:04:19 -0400, Nico Kadel-Garcia wrote:
>
>
>>> Not true. After the initial install, the reference to the /boot partition
>>> in fstab can be removed, and the OS will both boot, and run, with that
>>> partition unmounted. Grub will continue to function properly. I have run
>>> this way for three years, booting 9-12 distros, at any given time, without
>>> issues.
>>
>> Perhaps I overstate. However, any operation that needs to manipulate the
>> grub.conf, such as re-arranging your hard drives or installing a new kernel
>> (such as this original poster was doing) will find itself unable to edit the
>> grub.conf and find the new kernel to be inaccessible at best. In fact, since
>> the kernel installed with "make install" will wind up in the directory
>> "/boot", not the mountable partition, you can really get into all sorts of
>> fun this way because "/etc/grub.conf" which is what people normally edit
>> actually is a symbolic link to /boot/grub/grub.conf and will be
>> inaccessible, but it won't be able to see the new kernel you just installed
>> that partition if you remount /boot to edit things.
>>
>> Fun and games, campers, fun and games.
>
> Got that "fun and games" part right. I edit the /grub/menu.lst by mounting
> the partition on /mnt/tmp, rather than /boot. I can put a stanza in to
> boot from /boot, the directory, then test the new kernel thoroughly, and
> only when it is ready for production use, copy/move it to the partition.
> In the meantime, the old kernel and /grub/menu.lst are protected from
> accidental damage by any "process" that tries to overwrite it, and
> still usable if the new kernel is borked. I, and only I, manually edit
> that which is on the partition. Nothing automatic touches it.
>
> As to /etc/grub.conf, you must be running RH, or Fedora. Mandrake has no
> /etc/grub.conf, and Suse's /etc/grub.conf is a real text document that looks
> like;
>
RH and Fedora put the grub.conf in /boot/grub. I've followed this thread
since the original post, I think what we have here is a troll. I never
dual boot a system, I just don't want any flavor of Win anywhere on the HD
of my primary workstation. I always run Windoze on a separate system. FC2
is my primary work station. WinXP Home is what my teenagers do their
school work on.
> root (hd0,9)
> install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (fd0)
> /boot/grub/stage2 0x8000 (hd0,9)/boot/grub/menu.lst quit
>
> which tells grub where to install it's files, and is nothing that
> anybody would normally edit, except to reinstall grub.
>
> In this case, it shows that grub for Suse 9.1 was installed to a floppy,
> rather than the MBR, with it's other files installed at
> /dev/hda10/boot/grub/<whatever>. This leaves a menu.lst with a stanza
> that can be copied to the real /grub/menu.lst that grub, in the MBR,
> uses on the boot partition. It is meaningless, now, as Suse 9.1 has been
> moved to hdg3.
>
> With multiple OS's, if the boot partition were mounted, each would
> overwrite the /grub/menu.lst, at will, and create havoc. The grub in the
> MBR was installed by Suse 7.2, (long gone) and the only modifications
> have been adding or subtracting stanzas from menu.lst.
>
> The boot partition has a /boot soft link in, and to, the / of the
> partition. If the partition is mounted at the /boot directory, or
> unmounted, the install path will still be /boot/grub/<whatever>.
-- Registered Linux User #363218
- Next message: John Stumbles: "Re: how to mount usb digicam on SuSE 9.1?"
- Previous message: SIP3261: "RED HAT LINEX 9.0 INSTALLATION PROBLEM"
- In reply to: imotgm: "Re: grub.conf has disappeared -- FC2 / WinXP-SP2"
- Next in thread: Nico Kadel-Garcia: "Re: grub.conf has disappeared -- FC2 / WinXP-SP2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|