Changing grub4dos boot order.

Moderator: Forum moderators

Post Reply
User avatar
xenial
Posts: 504
Joined: Mon Jul 13, 2020 7:41 am
Location: Lincolnshire.UK.
Has thanked: 92 times
Been thanked: 41 times

Changing grub4dos boot order.

Post by xenial »

i have.
scpup32
xenialpup32
fossapup64
dpup stetch on my internal hard drive.

i have searched everywhere and i cannot find a way to change this order so that fossapup is booting by default.
At the moment my computer automatically boots scpup at start up but i would like fossapup64 to boot first.

How do i go about this please.? :|

keniv
Posts: 627
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 99 times
Been thanked: 65 times

Re: Changing grub4dos boot order.

Post by keniv »

xenial wrote: Wed Mar 02, 2022 8:16 pm

i have.
scpup32
xenialpup32
fossapup64
dpup stetch on my internal hard drive.

i have searched everywhere and i cannot find a way to change this order so that fossapup is booting by default.
At the moment my computer automatically boots scpup at start up but i would like fossapup64 to boot first.

How do i go about this please.? :|

If you are using Grub4dos you should be able to find the menu.lst file. Before you do anything with this I would make a copy of this file on a flash drive then if anything goes wrong you can put the original back. Below is part of the contents of my menu.lst file.

Code: Select all

color white/blue black/cyan white/black cyan/black
splashimage=/hubble.xpm
timeout 10
default 0

# Frugal installed Puppy

title BusterDog (64bit) (sda2/920busterdog) 
root (hd0,1)
kernel /920busterdog/live/vmlinuz1 noauto from=/920busterdog changes=EXIT:/bd-save
initrd /920busterdog/live/initrd1.xz

title Bookworm (64bit) (sda2/bookworm64) 
root (hd0,1)
kernel /bookworm64/live/vmlinuz1 noauto from=/bookworm64 changes=EXIT:/bw-save
initrd /bookworm64/live/initrd1.xz

title Fossapup 95 (64bit) (sda2/95fossapup64)
  find --set-root uuid () 60e6917a-e1db-44f9-8d58-6f0df737eeb5
  kernel /95fossapup64/vmlinuz  psubdir=/95fossapup64 pmedia=atahd pfix=fsck
  initrd /95fossapup64/initrd.gz

You can see that BusterDog is first on the list and so if you do not select any other OS on the list it will start to boot after the timeout has elapsed.
If you cut and paste the entry for Fossapup so as it appears first on the list then it will boot first if you do nothing and let the timeout elapse.
The menu.lst should now look like that shown below.

Code: Select all

color white/blue black/cyan white/black cyan/black
splashimage=/hubble.xpm
timeout 10
default 0

# Frugal installed Puppy

title Fossapup 95 (64bit) (sda2/95fossapup64)
  find --set-root uuid () 60e6917a-e1db-44f9-8d58-6f0df737eeb5
  kernel /95fossapup64/vmlinuz  psubdir=/95fossapup64 pmedia=atahd pfix=fsck
  initrd /95fossapup64/initrd.gz

title BusterDog (64bit) (sda2/920busterdog) 
root (hd0,1)
kernel /920busterdog/live/vmlinuz1 noauto from=/920busterdog changes=EXIT:/bd-save
initrd /920busterdog/live/initrd1.xz

title Bookworm (64bit) (sda2/bookworm64) 
root (hd0,1)
kernel /bookworm64/live/vmlinuz1 noauto from=/bookworm64 changes=EXIT:/bw-save
initrd /bookworm64/live/initrd1.xz

Hope this helps.

Regards,

Ken.

User avatar
wizard
Posts: 1653
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2208 times
Been thanked: 515 times

Re: Changing grub4dos boot order.

Post by wizard »

@xenial
In Ken's menu.lst example below he has 3 entries.:
Fossapup 95
BusterDog
Bookworm

Grub4dos numbers the entries, the top entry is 0 (zero), next is 1, next is 2, etc.

You also see the grub line: default 0
That tells grub which entry to boot by default, in his case Fossapup 95

Just change the default number to the entry number you want booted.

wizard

color white/blue black/cyan white/black cyan/black
splashimage=/hubble.xpm
timeout 10
default 0

# Frugal installed Puppy

title Fossapup 95 (64bit) (sda2/95fossapup64)
find --set-root uuid () 60e6917a-e1db-44f9-8d58-6f0df737eeb5
kernel /95fossapup64/vmlinuz psubdir=/95fossapup64 pmedia=atahd pfix=fsck
initrd /95fossapup64/initrd.gz

title BusterDog (64bit) (sda2/920busterdog)
root (hd0,1)
kernel /920busterdog/live/vmlinuz1 noauto from=/920busterdog changes=EXIT:/bd-save
initrd /920busterdog/live/initrd1.xz

title Bookworm (64bit) (sda2/bookworm64)
root (hd0,1)
kernel /bookworm64/live/vmlinuz1 noauto from=/bookworm64 changes=EXIT:/bw-save
initrd /bookworm64/live/initrd1.xz

Big pile of OLD computers

Post Reply

Return to “Boot”