Posts: 177
rmcellig
Joined: 04 Mar 2014
#16
I tried both of the options you suggested. I received a file error as soon as I selected it in the grub menu on startup.

This is where my frugal install is located:

Code: Select all

randy@antiX3000:/
$ ls
antix13.2  boot  etc   lib         media  opt   root  sbin     sys  usr
bin        dev   home  lost+found  mnt    proc  run   selinux  tmp  var
randy@antiX3000:/
$ cd antix13.2/
randy@antiX3000:/antix13.2
$ ls
initrd.gz  linuxfs  vmlinuz
randy@antiX3000:/antix13.2
$ 

I will try using the uuid in my grub entry as suggested and post back.

Here is my menu.lst file:

Code: Select all

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

gfxmenu /boot/grub/message

title  antiX at sda4, kernel 3.7.10-antix.5-486-smp
root   (hd0,3)
kernel /boot/vmlinuz-3.7.10-antix.5-486-smp root=/dev/sda4 quiet
initrd /boot/initrd.img-3.7.10-antix.5-486-smp
boot

title AntiX Linux Frugal
root(0,3)
kernel /antiX-13.2/vmlinuz quiet bdir=antiX-13.2 from=hd antiX=MLX
initrd /antiX-13.2/initrd.gz

title AntiX Linux Frugal
root(0,3)
kernel /antiX-13.2/vmlinuz quiet bdir=antiX-13.2 bdev=sda4 antiX=MLX
initrd /antiX-13.2/initrd.gz
title  CrunchBang GNU/Linux, with Linux 3.2.0-4-486
root   (hd0,1)
kernel /boot/vmlinuz-3.2.0-4-486 root=UUID=8dd05fe1-471c-4c8e-972e-ff0549c9a810 ro quiet
initrd /boot/initrd.img-3.2.0-4-486

### 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=b1e8c66b-048d-4bfe-9d9c-958c0b6abf68 ro
# kopt_2_6=root=UUID=b1e8c66b-048d-4bfe-9d9c-958c0b6abf68 ro nosplash quiet

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

## 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        antiX-13.2, kernel 3.7.10-antix.5-486-smp
root        (hd0,3)
kernel        /boot/vmlinuz-3.7.10-antix.5-486-smp root=UUID=b1e8c66b-048d-4bfe-9d9c-958c0b6abf68 ro 
initrd        /boot/initrd.img-3.7.10-antix.5-486-smp

title        antiX-13.2, kernel 3.7.10-antix.5-486-smp (init-3)
root        (hd0,3)
kernel        /boot/vmlinuz-3.7.10-antix.5-486-smp root=UUID=b1e8c66b-048d-4bfe-9d9c-958c0b6abf68 ro 3
initrd        /boot/initrd.img-3.7.10-antix.5-486-smp

title        antiX-13.2, kernel memtest86+
root        (hd0,3)
kernel        /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#17
The folder name doesn't match the grub entry.

antiX-13.2 is in grub
antix13.2 is the folder name.

So change grub entry to antix13.2
Posts: 177
rmcellig
Joined: 04 Mar 2014
#18
Ya, I picked up on that as well and made the changes. Still doesn't work so I went over the grub entries line by line. Am I still missing something here?

Code: Select all

title AntiX Linux Frugal
root(hd0,3)
kernel /antiX13.2/vmlinuz quiet bdir=antiX13.2 from=hd antiX=MLX
initrd /antiX13.2/initrd.gz

title AntiX Linux Frugal
root(hd0,3)
kernel /antiX13.2/vmlinuz quiet bdir=antiX13.2 buuid=b1e8c66b-048d-4bfe-9d9c-958c0b6abf68 antiX=MLX
initrd /antiX13.2/initrd.gz
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#19
Try changing from=hd to bdev=sda4

It *might* be the case that grub is unable to boot frugal on the same partition.

What if you copy the antix13. folder to sda2 or sda3 (and change grub entry accordingly)?
Posts: 177
rmcellig
Joined: 04 Mar 2014
#20
Good idea. I'll try that and post back.
Posts: 177
rmcellig
Joined: 04 Mar 2014
#21
I moved the antix13.2 folder to the root of sda1. What exactly do I have to change in the grub entry? Thanks!!
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#22
title AntiX Linux Frugal
root(hd0,0)
kernel /antiX13.2/vmlinuz quiet bdir=antiX13.2 from=hd antiX=MLX
initrd /antiX13.2/initrd.gz

OR

title AntiX Linux Frugal
root(hd0,0)
kernel /antiX13.2/vmlinuz quiet bdir=antiX13.2 bdev=sda1 antiX=MLX
initrd /antiX13.2/initrd.gz
Posts: 177
rmcellig
Joined: 04 Mar 2014
#23
This is what I get when I click on the modified grub entry upon startup. My guess is that this error is not locating the file needed for this grub entry to work?

Error 15 File Not Found
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#24
Check the folders match to the real name on sda1
Posts: 850
fatmac
Joined: 26 Jul 2012
#25
Just a thought, but did you update grub?
Posts: 177
rmcellig
Joined: 04 Mar 2014
#26
No. I just made the changes in the menu.lst file, saved them and rebooted. I will run update grub now and see what happens.
Posts: 177
rmcellig
Joined: 04 Mar 2014
#27
Here is what my folder path looks like.
BitJam
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#28
As anticapitalista pointed out, I had given you the wrong"root" line. It should be:

Code: Select all

root (hd0,3)
Posts: 177
rmcellig
Joined: 04 Mar 2014
#29
Thanks! So these two entries look OK?

Code: Select all

title AntiX Linux Frugal
root(hd0,3)
kernel /media/sda1/frugal/vmlinuz quiet bdir=frugal from=hd antiX=MLX
initrd /media/sda1/frugal/initrd.gz

title AntiX Linux Frugal-uuid
root(hd0,3)
kernel /media/sda1/frugal/ quiet bdir=frugal root=UUID=827c423d-4b8e-48b1-9043-78a471251c8d antiX=MLX
initrd /media/sda1/frugal/initrd.gz
I changed the name of my frugal direcrory to frugal instead of antix13.2 just to keep it simple for now. Do I have to fully qualify the path (kernel and initrd lines) or is /frugal enough?

What is bdir=frugal? Does this part look OK?
Posts: 177
rmcellig
Joined: 04 Mar 2014
#30
I think I got it! I was able to boot into the frugal install. How can I know for sure? Where do we go from here regarding persitent boots? Is this where all the fun starts? __{{emoticon}}__