Posts: 903
plvera
Joined: 11 Oct 2008
#1
Hello:
I messed up my old laptop system (breaking Antix is almost a hobby for me __{{emoticon}}__ ) by running gparted to create another partition. Anyway, I installed 8.5-full in hda1 and Antix-8.5-core in hda3 (following all the default setttings), but can't get grub to see both.

Ran update-grub--> no luck. I figure I'm doing something stupid. Any suggestions?

thanks.

Pedro
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Can you post your grub/menu.lst
Posts: 903
plvera
Joined: 11 Oct 2008
#3
As far as I can see, it's only detecting the full install

timeout 10
color cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message

title antiX at hda1, kernel 2.6.32-1-mepis-smp
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-1-mepis-smp root=/dev/hda1 nomce quiet nosplash vga=791
initrd /boot/initrd.img-2.6.32-1-mepis-smp
boot

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=da5c9dc0-99bd-4987-9abf-74a392437714 ro
# kopt_2_6=root=UUID=da5c9dc0-99bd-4987-9abf-74a392437714 ro nosplash quiet

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(init-3) 3

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Debian GNU/Linux, kernel 2.6.32-1-mepis-smp Default
root (hd0,0)
kernel /boot/vmlinuz root=UUID=da5c9dc0-99bd-4987-9abf-74a392437714 ro nosplash quiet
initrd /boot/initrd.img

title Debian GNU/Linux, kernel 2.6.32-1-mepis-smp Default (init-3)
root (hd0,0)
kernel /boot/vmlinuz root=UUID=da5c9dc0-99bd-4987-9abf-74a392437714 ro nosplash quiet 3
initrd /boot/initrd.img

title Debian GNU/Linux, kernel 2.6.32-1-mepis-smp
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-1-mepis-smp root=UUID=da5c9dc0-99bd-4987-9abf-74a392437714 ro nosplash quiet
initrd /boot/initrd.img-2.6.32-1-mepis-smp

title Debian GNU/Linux, kernel 2.6.32-1-mepis-smp (init-3)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-1-mepis-smp root=UUID=da5c9dc0-99bd-4987-9abf-74a392437714 ro nosplash quiet 3
initrd /boot/initrd.img-2.6.32-1-mepis-smp

title Debian GNU/Linux, kernel memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST


thanks.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#4
change the last 2 entries to read:

title antiX-core
root (hd0,2)
kernel /boot/vmlinuz-2.6.32-1-mepis-smp root=/dev/hda3 ro nosplash quiet
initrd /boot/initrd.img-2.6.32-1-mepis-smp

title antiX-core (init-3)
root (hd0,2)
kernel /boot/vmlinuz-2.6.32-1-mepis-smp root=/dev/hda3 ro nosplash quiet 3
initrd /boot/initrd.img-2.6.32-1-mepis-smp


Or find out the uuid for /devhda3 using ls -l /dev/disk/by-uuid
Posts: 903
plvera
Joined: 11 Oct 2008
#5
Thanks! That fixed it.