topic title: My First Step
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#16
rokytnji wrote:Grub Legacy is in AntiX and yes it supports uuid. Just rename menu.lst as menu.lstbk. Make a new blank menu.lst

Put any entry you want in it. Then copy your lines into antiX /boot/grub/menu.lst. For me to show you my grub4dos /boot/grub/menu.lst. I would have to boot into Puppy and repost here later. I am playing with skins in qmmp media player so give me a few and I will post back withy a menu.lst that will blow your mind.
Okay, good to know it does support uuid __{{emoticon}}__

The question is: what's the syntax for that? that is what I'm asking about actually __{{emoticon}}__

Another Q: Shall I change antiX entry to uuid as well or leave it as it's? I mean, menu.lst will have uuid for both SliTaz and antiX? or only for SliTaz?

Sure, take your time __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#17
My grub4dos menu.lst.

Code: Select all

# menu.lst produced by grub4dosconfig-v
color white/blue black/cyan white/black cyan/black
timeout 10
default 0

# Frugal installed Puppy

title Bruno pup-431 (sdb1/pup431)
  find --set-root --ignore-floppies /pup431/initrd.gz
  kernel /pup431/vmlinuz pmedia=atahd psubdir=pup431 pfix=fsck
  initrd /pup431/initrd.gz

title Bruno pup-431 (sdb1/pup431) RAM mode\nBoot up Puppy withot pupsave
  kernel /pup431/vmlinuz pmedia=atahd psubdir=pup431 pfix=ram,fsck
  initrd /pup431/initrd.gz

title Macpup-511 (sda1/puppy511harry)
  find --set-root --ignore-floppies /puppy511harry/initrd.gz
  kernel /puppy511harry/vmlinuz pmedia=atahd psubdir=puppy511harry pfix=fsck
  initrd /puppy511harry/initrd.gz

title NOP pup-431 (sdb2/puppy431)
  find --set-root --ignore-floppies /puppy431/initrd.gz
  kernel /puppy431/vmlinuz pmedia=atahd psubdir=puppy431 pfix=fsck
  initrd /puppy431/initrd.gz

# Full installed Linux

title antiX 11 test2 at hda7, kernel 2.6.32-1-mepis-smp
root (hd0,6)
kernel /boot/vmlinuz-2.6.32-1-mepis-smp root=/dev/hda7 nomce quiet nosplash vga=normal 
initrd /boot/initrd.img-2.6.32-1-mepis-smp
boot

title        AntiX 11 test2 Debian GNU/Linux, kernel 2.6.37-0.dmz.5-liquorix-686
root        (hd0,6)
kernel        /boot/vmlinuz-2.6.37-0.dmz.5-liquorix-686 root=UUID=215cde80-eeb6-451f-929f-5fb9493e7932 ro nosplash quiet vga=normal nomodeset
initrd        /boot/initrd.img-2.6.37-0.dmz.5-liquorix-686

title sdb5/boot/initrd.img-2.6.34-stevo,/boot/vmlinuz-2.6.34-stevo (sdb5/boot)
  root (hd1,4)
  kernel /boot/vmlinuz-2.6.34-stevo root=UUID=fc2d5f0c-f1f8-4976-a315-121c4ad2b977 ro nosplash quiet 
  initrd /boot/initrd.img-2.6.34-stevo

title Puppy Linux 120 full install in sda8
root (hd0,7)
kernel /boot/vmlinuz root=/dev/sda8 pmedia=atahd nosmp

# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
  errorcheck off
  find --set-root --ignore-floppies --ignore-cd  /bootmgr
  chainloader /bootmgr
  find --set-root --ignore-floppies --ignore-cd  /ntldr
  chainloader /ntldr
  find --set-root --ignore-floppies --ignore-cd   /io.sys
  chainloader /io.sys
  errorcheck on

# additionals

title Find Grub2\nBoot up grub2 if installed
find --set-root --ignore-floppies --ignore-cd /boot/grub/core.img
kernel /boot/grub/core.img

title Grub4Dos commandline\n(for experts only)
  commandline

title Reboot computer
  reboot

title Halt computer
  halt
Hopefully that will show you how to insert uuid. This motorcycle shop computer has 2 ide hard drives with linux distros scattered all over both hard drives and everything boots up. I might even try a Slitaz install if I ever find the time. Which I never have.

Edit: This here is my IBM a22m Laptop showing uuid in stock AntiX grub Legacy for comparison.

Code: Select all

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

gfxmenu /boot/grub/message
title        Debian GNU/Linux, kernel 2.6.34-stevo
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.34-stevo root=UUID=3585475c-f005-4fa8-872c-8cb0444650e4 ro nosplash quiet 
initrd        /boot/initrd.img-2.6.34-stevo

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 acpi=force
initrd /boot/initrd.img-2.6.32-1-mepis-smp
boot

title Puppy Linux 5.2 frugal in sda5 dir 
rootnoverify (hd0,4)
kernel /vmlinuz pmedia=atahd pfix=noram acpi=force
initrd /initrd.gz

### 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=3585475c-f005-4fa8-872c-8cb0444650e4 ro
# kopt_2_6=root=UUID=3585475c-f005-4fa8-872c-8cb0444650e4 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.34-stevo (init-3)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.34-stevo root=UUID=3585475c-f005-4fa8-872c-8cb0444650e4 ro nosplash quiet 3
initrd        /boot/initrd.img-2.6.34-stevo

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=3585475c-f005-4fa8-872c-8cb0444650e4 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=3585475c-f005-4fa8-872c-8cb0444650e4 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
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#18
Kernel Panic __{{emoticon}}__

SliTaz: /boot/grub/menu.lst

Code: Select all

# /boot/grub/menu.lst: GRUB boot loader configuration.
#

# By default, boot the first entry.
default 0

# Boot automatically after 8 secs.
timeout 8

# Change the colors.
color yellow/brown light-green/black

# For booting SliTaz from : /dev/hdb6
#
title SliTaz GNU/Linux (cooking) (Kernel vmlinuz-2.6.30.6-slitaz)
root (hd1,5)
kernel /boot/vmlinuz-2.6.30.6-slitaz root=/dev/hdb6

The output of the command

Code: Select all

ls -l /dev/disk/by-uuid
is:

Code: Select all

total 0
lrwxrwxrwx 1 root root 10 2011-01-26 10:36 2f42dc15-6728-4961-b176-7824f9f80dab -> ../../sda6

antiX: /boot/grub/menu.lst

Code: Select all

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

gfxmenu /boot/grub/message

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

title SliTaz at sda6 (Kernel vmlinuz-2.6.30.6-slitaz)
root (hd0,5)
kernel /boot/vmlinuz-2.6.30.6-slitaz root=UUID=2f42dc15-6728-4961-b176-7824f9f80dab

I'm not sure if there's a solution for this problem.
Problem is here: root (hd0,5)

Before it's a problem here: kernel /boot/vmlinuz-2.6.30.6-slitaz root=UUID=2f42dc15-6728-4961-b176-7824f9f80dab

When GRUB pass the control to SliTaz to boot, the entries are not the same as GRUB passing"(hd0,5)" while SliTaz doesn't understand anything but"(hd1,5)".

Why SliTaz is doing that?
Because I'm using a SLAVE HDD as I mentioned in my first post regarding this issue.

SliTaz is using /dev/hdX so hd system detects Master and Slave thus it is"hdb" not even"hda".

On the other hand, antiX is using"/dev/sdX" system so it doesn't matter whether the HDD is Master or Slave, it's"sda" in all cases.

That's the problem. I know it but I have no clue how to fix it?!

I know the problem could be solved with GRUB2 but not really sure whether that's possible to do in antiX or not?
I'll try to install GRUB2 in antiX hopefully it will work and hopefully that would fix the issue. Otherwise, I'm not sure what more we could try here?

Thanks!
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#19

Code: Select all

apt-get install grub-pc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  grub-common
Suggested packages:
  multiboot-doc grub-emu xorriso desktop-base
The following packages will be REMOVED:
  grub-gfxboot
The following NEW packages will be installed:
  grub-pc
The following packages will be upgraded:
  grub-common
1 upgraded, 1 newly installed, 1 to remove and 677 not upgraded.
Need to get 2,800kB of archives.
After this operation, 2,937kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  grub-common grub-pc
Install these packages without verification [y/N]? y
Err http://ftp.us.debian.org testing/main grub-common 1.98+20100804-13
  Temporary failure resolving 'ftp.us.debian.org'
Get:1 http://ftp.us.debian.org testing/main grub-pc 1.98+20100804-13 [1,021kB]
Fetched 1,021kB in 55s (18.2kB/s)                                              
Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/grub2/grub-common_1.98+20100804-13_i386.deb  Temporary failure resolving 'ftp.us.debian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Could NOT install GRUB2. I guess it has to do with my other problem about"apt-get update" which is does not work yet.

Any thoughts? I don't have any other idea as of now __{{emoticon}}__

Edit: Great, now even SliTaz's Forum does not work for some weird reason.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forum.slitaz.org/"
linktext was:"http://forum.slitaz.org/"
====================================
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#20
How about this?

map (hd0) (hd1)
map (hd1) (hd0)


Once these two lines had fixed my Dual-Booting Problem with Fedora 13 and WinXP but not sure if this will work in this case or it will not?!

Code: Select all

title WinXP (the default is Other)
    rootnoverify (hd1,0)
    map (hd0) (hd1)
        map (hd1) (hd0)
    chainloader +1
That's really all what I could think about.
The last option left is to totally remove SliTaz and get rid of this hassle but that's not me, I don't give up that easy __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#21
Why SliTaz is doing that?
Lol.beats me. You are on your own with that. Don't know what to tell you. I see though that you are as stubborn as me when something gets in your way. This forum is scattered with my ramblings and some times I am the bug. Some times the Windshield. Wish you luck though.
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#22
What about this???
TheForsaken wrote:
anticapitalista wrote:Open as root or via antiX control centre -> System->Edit config files
Thanks a lot __{{emoticon}}__

I removed the other package but this time, I got another error:

Code: Select all

W: GPG error: http://www.debian-multimedia.org testing Release: The following signatures were invalid: BADSIG 07DC563D1F41B907 Christian Marillat <marillat@debian.org>
W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/Release.gpg  Temporary failure resolving 'ftp.us.debian.org'

W: Some index files failed to download, they have been ignored, or old ones used instead.
I tried to search for that package (Christian Marillat) but couldn't find it.

I searched using :
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debian-multimedia.org"
linktext was:"http://www.debian-multimedia.org"
====================================
and got:

Code: Select all

# Multimedia Stable and Testing
#deb http://www.debian-multimedia.org stable main non-free
deb http://www.debian-multimedia.org testing main non-free
and

Code: Select all

###### Debian Unstable/Sid##########
###### Use at your own risk! ########
#deb http://ftp.us.debian.org/debian/ unstable main contrib non-free
#deb http://www.debian-multimedia.org unstable main non-free
So, what shall I do?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#23
Try apt-get update again. It says it was a temporary error.
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#24
rokytnji wrote:
Why SliTaz is doing that?
Lol.beats me. You are on your own with that. Don't know what to tell you. I see though that you are as stubborn as me when something gets in your way. This forum is scattered with my ramblings and some times I am the bug. Some times the Windshield. Wish you luck though.
I'm going to bring that to their door steps __{{emoticon}}__
They can't just make distributions without writing the manual/guides/whatever so people could read it to understand. Problem is, on SliTaz's Forum, they told me"You're on your own" when we discussed a much simple thing so I can't expect much. I might talk with my Ubuntu's friends about that.

THANK YOU SO MUCH, I appreciate your help __{{emoticon}}__
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#25
anticapitalista wrote:Try apt-get update again. It says it was a temporary error.

Code: Select all

W: GPG error: http://www.debian-multimedia.org testing Release: The following signatures were invalid: BADSIG 07DC563D1F41B907 Christian Marillat <marillat@debian.org>
W: Failed to fetch http://security.debian.org/dists/testing/updates/Release.gpg  Temporary failure resolving 'security.debian.org'

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/main/binary-i386/Packages.bz2  Hash Sum mismatch

W: Some index files failed to download, they have been ignored, or old ones used instead.
Same :S
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#26
Post your /etc/apt/sources.list
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#27
anticapitalista wrote:Post your /etc/apt/sources.list

Code: Select all

# See sources.list(5) for more information

# Note:If you want maximum stability, only use the stable repos.
# If you want to install kde3.5, you MUST only use the stable repos.
# (this will change when kde3.5 is no loger available in stable)

# MEPIS 8 series. 
# Only for kernel upgrades. Best NOT to use.
#deb ftp://ftp.mepis.com/mepis/ mepis-8.5 main 
# MEPIS mirrors
#deb ftp://ftp.mirrorservice.org/sites/ftp.mepis.org/mepis/ mepis-8.0 main 
#deb http://fr1.mepis-deb.org/mepis/ mepis-8.0 main
#deb http://www.mirrorservice.org/sites/ftp.mepis.org/mepis/ mepis-8.0 main 

# Debian Testing. 
# Testing enabled for 'rolling' release.
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free 
#deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free

# Debian Stable
# This will 'soon' be"Squeeze". Use for maximum stability.
#deb http://ftp.us.debian.org/debian/ stable main contrib non-free 
#deb http://security.debian.org/ stable/updates main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free

# Multimedia Stable and Testing
#deb http://www.debian-multimedia.org stable main non-free
deb http://www.debian-multimedia.org testing main non-free

# Goggles music manager
#deb http://apt.progchild.de stable main

# opera
#deb http://deb.opera.com/opera/ lenny non-free

# virtualbox
#deb http://download.virtualbox.org/virtualbox/debian lenny non-free

# liquorix kernels 
#deb http://liquorix.net/debian/ sid main

###### Debian Unstable/Sid##########
###### Use at your own risk! ########
#deb http://ftp.us.debian.org/debian/ unstable main contrib non-free
#deb http://www.debian-multimedia.org unstable main non-free
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#28
Try a reboot ans apt-get update agauin or change the Debian mirror to see if that goes through ok.
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#29
anticapitalista wrote:Try a reboot ans apt-get update agauin or change the Debian mirror to see if that goes through ok.
Added 3 mirrors for Stable (Debian) and still the same:

From Synaptic:

W: GPG error:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debian-multimedia.org"
linktext was:"http://www.debian-multimedia.org"
====================================
testing Release: The following signatures were invalid: BADSIG 07DC563D1F41B907 Christian Marillat <marillat@debian.org>
W: GPG error:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org"
linktext was:"http://ftp.us.debian.org"
====================================
testing Release: The following signatures were invalid: BADSIG 9AA38DCD55BE302B Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#30
1)

W: GPG error:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org"
linktext was:"http://ftp.us.debian.org"
====================================
testing Release: The following signatures were invalid: BADSIG 9AA38DCD55BE302B Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>


IF ONLY:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
(testing) is added


2)

W: GPG error:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debian-multimedia.org"
linktext was:"http://www.debian-multimedia.org"
====================================
testing Release: The following signatures were invalid: BADSIG 07DC563D1F41B907 Christian Marillat <marillat@debian.org>



IF ONLY:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debian-multimedia.org/"
linktext was:"http://www.debian-multimedia.org/"
====================================
(testing) is added



3)
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org/"
linktext was:"http://security.debian.org/"
====================================
((testing/updates))

ONLY when the above mirror is added, I got no error.

So, what shall I do? keep this one and remove (un-tick) the other two?