Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #37329

Re: GRUB over MSbootloader

From Peter 'Shaggy' Haywood <phaywood@alphalink.com.au>
Newsgroups comp.os.linux.misc
Subject Re: GRUB over MSbootloader
Date 2023-02-28 15:42 +1100
Organization A noiseless patient Spider
Message-ID <cad0dj-u32.ln1@jefferson.foo> (permalink)
References <ttgdmk$975$1@reader2.panix.com>

Show all headers | View raw


Groovy hepcat vjp2.at@at.BioStrategist.dot.dot.com was jivin' in
comp.os.linux.misc on Mon, 27 Feb 2023 06:59 am. It's a cool scene! Dig
it.

> I installed  MSDOS first then WP, so now XP controlled the swithcing

  I don't know what WP is. Is that a typo? Did you mean XP?

> between booting MSDOS or booting XP.
> 
> When I install Linux, will grub replace the Windows boot loader or
> include it as a submenu on grub?

  It will not touch your DOS/Losedows boot loader, which resides in that
system's partition. Grub is a multi-stage boot loader. Its first stage
can be installed to either the MBR (master boot record - the first
sector of the drive) or to a partition. In either case (unless you
install it in your DOS partition) it will not interfere with the
original boot loader.
  Actually, even DOS and its derivatives use a two stage boot loader,
but the first stage is really just a stub, only loading in the real
boot loader. This first stage stub resides in the MBR. It just
determines the "active" partition from the partition table (also in the
MBR) then loads and runs the real boot loader from the first sector of
this partition.
  Anyhow, while grub is installing, it will usually detect other
installed systems and create entries for them in the boot menu. Under
some circumstances this will not be done. But it is possible to
configure it yourself.
  Assuming you're installing any reasonably recent Linux, and you'll be
using grub 2, the procedure is as follows:

1) open /etc/grub.d/40_custom with a text editor,

2) add an entry for the system, such as (changing the "set root="
parameters to suit your setup, of course):

menuentry 'Microstuffed Losedows XP' {
        insmod part_msdos
        insmod ntfs
        set root='hd0,msdos1'
        chainloader +1
}

3) save and close the file, and finally,

4) run update-grub (as root).

> And If I don't like this, how do I put it all on grub?

  That depends on how you've set up DOS & XP. I'm not so familiar with
running both of those from the same drive and sharing a bootloader, so
I will not comment on that. But it might be possible to add an entry
for both of those using the procedure outlined above.

-- 


----- Dig the NEW and IMPROVED news sig!! -----


-------------- Shaggy was here! ---------------
              Ain't I'm a dawg!!

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

GRUB over MSbootloader vjp2.at@at.BioStrategist.dot.dot.com - 2023-02-26 19:59 +0000
  Re: GRUB over MSbootloader Robert Heller <heller@deepsoft.com> - 2023-02-26 22:25 +0000
  Re: GRUB over MSbootloader "28A.I873" <28A.I873@noabzba.net> - 2023-02-26 23:10 -0500
    Re: GRUB over MSbootloader Robert Heller <heller@deepsoft.com> - 2023-02-27 05:13 +0000
      Re: GRUB over MSbootloader "28A.I873" <28A.I873@noabzba.net> - 2023-02-27 21:35 -0500
    Re: GRUB over MSbootloader "Carlos E.R." <robin_listas@es.invalid> - 2023-03-19 12:02 +0100
  Re: GRUB over MSbootloader Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2023-02-28 15:42 +1100
  Re: GRUB over MSbootloader vjp2.at@at.BioStrategist.dot.dot.com - 2023-03-17 19:17 +0000
    Re: GRUB over MSbootloader "Nuno Silva" <nunojsilva@invalid.invalid> - 2023-03-18 09:36 +0000
      Re: GRUB over MSbootloader "Carlos E.R." <robin_listas@es.invalid> - 2023-03-19 12:38 +0100
        Re: GRUB over MSbootloader Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2023-03-20 15:16 +0000
          Re: GRUB over MSbootloader Bobbie Sellers <bliss@mouse-potato.com> - 2023-03-20 10:24 -0700
          Re: GRUB over MSbootloader "Carlos E.R." <robin_listas@es.invalid> - 2023-03-20 23:32 +0100

csiph-web