Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19
cousinlucky@antiX1:~ $ sudo blkid /dev/sda1: UUID="f414e622-c48e-4f81-9983-95f358629646" TYPE="ext4" /dev/sda2: UUID="692bc33f-b8ba-4e38-9559-df1771861a9a" TYPE="swap" /dev/sda3: LABEL="/dev/sda3" UUID="724d4a16-ba54-4fd5-9baf-31eda641e342" TYPE="ext2" cousinlucky@antiX1:~ $ I'm sorry Yancek but I do not know how to access the grub file ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676

    cousinlucky@antiX1:~
    $ sudo blkid
    /dev/sda1: UUID="f414e622-c48e-4f81-9983-95f358629646" TYPE="ext4"
    /dev/sda2: UUID="692bc33f-b8ba-4e38-9559-df1771861a9a" TYPE="swap"
    /dev/sda3: LABEL="/dev/sda3" UUID="724d4a16-ba54-4fd5-9baf-31eda641e342" TYPE="ext2"
    cousinlucky@antiX1:~
    $

    I'm sorry Yancek but I do not know how to access the grub file to insert or change anything yet.
    It may be that all I need to do is to remove LABEL="/dev/sda3" for the thing to work correctly.
    Last edited by cousinlucky; 10-27-2012 at 07:32 PM.
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  2. #12
    Linux Guru
    Join Date
    Jul 2008
    Posts
    4,204
    My example of a Multiboot grub menu from my quad boot IBM M41 M/C shop Desktop. I have 2 grub 2 distros booting through Antix grub Legacy on this box cousin lucky. on 2 differnt internal hard drives. Way more complicated than your setup. I don't know why you won't answer my questions entirely. So flying blind in response .


    Code:
    timeout 10
    color cyan/blue white/blue
    foreground ffffff
    background 0639a1
    
    gfxmenu /boot/grub/message
    
    
    title AntiX  at sda1, kernel 3.3.5-antix.1-486-smp
    kernel /boot/vmlinuz-3.3.5-antix.1-486-smp root=/dev/sda1 nomce quiet nosplash nouveau.modeset=0 vga=791
    initrd /boot/initrd.img-3.3.5-antix.1-486-smp
    boot
    
    title Semplice GNU/Linux, with Linux 3.2.0-3-486
    rootnoverify (hd1,1)
    chainloader +1
    
    title Vector STD Gold 7 at /dev/sda2
    rootnoverify (hd0,1)
    chainloader +1
    
    title Puppy Linux 529 frugal in sdb1 dir macpup529frugal
    rootnoverify (hd1,0)
    kernel /macpup529frugal/vmlinuz pmedia=atahd psubdir=macpup529frugal
    initrd /macpup529frugal/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=009157e5-dcf1-465a-ae33-6fb9cf5c3b38 ro
    # kopt_2_6=root=UUID=009157e5-dcf1-465a-ae33-6fb9cf5c3b38 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 3.5.2-antix.1-486-smp
    root      (hd0,0)
    kernel      /boot/vmlinuz-3.5.2-antix.1-486-smp root=UUID=009157e5-dcf1-465a-ae33-6fb9cf5c3b38 ro
    initrd      /boot/initrd.img-3.5.2-antix.1-486-smp
    
    title      Debian GNU/Linux, kernel 3.5.2-antix.1-486-smp (init-3)
    root      (hd0,0)
    kernel      /boot/vmlinuz-3.5.2-antix.1-486-smp root=UUID=009157e5-dcf1-465a-ae33-6fb9cf5c3b38 ro 3
    initrd      /boot/initrd.img-3.5.2-antix.1-486-smp
    
    title      Debian GNU/Linux, kernel 3.3.5-antix.1-486-smp
    root      (hd0,0)
    kernel      /boot/vmlinuz-3.3.5-antix.1-486-smp root=UUID=009157e5-dcf1-465a-ae33-6fb9cf5c3b38 ro
    initrd      /boot/initrd.img-3.3.5-antix.1-486-smp
    
    title      Debian GNU/Linux, kernel 3.3.5-antix.1-486-smp (init-3)
    root      (hd0,0)
    kernel      /boot/vmlinuz-3.3.5-antix.1-486-smp root=UUID=009157e5-dcf1-465a-ae33-6fb9cf5c3b38 ro 3
    initrd      /boot/initrd.img-3.3.5-antix.1-486-smp
    
    title      Debian GNU/Linux, kernel memtest86+
    root      (hd0,0)
    kernel      /boot/memtest86+.bin
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    Use antixcc (crossed wrenches in task bar). Edit config files button. Password. Pick the menu button in taskbar of geany.

    go to.

    Code:
    title linux
    kernel /boot/vmlinuz BOOT_IMAGE=linux root=UUID=724d4a16-ba54-4fd5-9baf-31eda641e342 resume=UUID=9307dbd7-b13b-46b2-b330-caa85f5b9bd4 splash=silent vga=788
    initrd /boot/initrd.img

    Change it to.

    Code:
    title PCLOS Linux
    rootnoverify (hd0,2)
    chainloader +1
    Hit the save button in gedit taskbar. Close everything. Reboot. Pick PCLOS Linux from the grub boot menu. See if it boots up.

    I say I am flying blind because you did not go into details on your thread on exact steps during pclos and antix installation process so I have to guess that pclos is on /dev/sda3.
    Which in grub terms is (hd0,2).

    Momma has a even tempered nature and knows my other brood is no threat to her. She tolerates their antics. So don't wonder about them getting onto her pad.
    Good luck with the storm coming.

    Edit: Look how I posted for editing grub menu in antix in this post in case Yanek gives you something different to edit grub with. You posted while I was typing this out.

  3. #13
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    Roky, I remember the MBR button and explaination in Antix because I have installed it many times. i only installed PCLinuxOS once and just followed the directions and not looking to remember exacly what I did. After all it booted up after being installed. The boot became an error after i installed AntiX. Thanks a lot for these instructions.
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  4. $spacer_open
    $spacer_close
  5. #14
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    The menu.lst you posted from AntiX shows the PCLinux entry with a different UUID for swap (the second UUID number on the kernel line). It begins with 9307... while the blkid output you posted for AntiX shows sda2, your swap partition beginning with 692b... I've seen this before with PCLinux when you install another distro and it changes the swap UUID. You could change the second UUID for swap in the PCLinux entry on the AntiX menu.lst or it would probably be easier to chainload as suggested by rokitnji.

  6. #15
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    My appreciation for your efforts gentlemen!
    I'm very sorry but neither of your suggestions worked out. Maybe someone using PCLinuxOS gnome can help with this!
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  7. #16
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    Yancek your entry gets me a different error message:
    Error1: filename must be either an sbsolute pathname or blocklist
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  8. #17
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    This problem of mine has been Solved!!

    Grub needs a "root" statement so it can find the right (disk,partition).
    The "configfile" statement will display the PCLOS menu.lst and you can go from there.

    Make these changes ( in red ) and let us know what happens.

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

    gfxmenu (hd0,0)/boot/grub/message

    title antiX at sda1, kernel 3.5.0-antix.2-486-smp
    root (hd0,0)
    kernel /boot/vmlinuz-3.5.0-antix.2-486-smp root=/dev/sda1 nomce quiet nosplash nouveau.modeset=0 vga=791
    initrd /boot/initrd.img-3.5.0-antix.2-486-smp
    boot

    title PCLinuxOS
    root (hd0,2)
    configfile /boot/grub/menu.lst


    ### BEGIN AUTOMAGIC KERNELS LIST
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  9. #18
    Linux Newbie
    Join Date
    Apr 2005
    Location
    Clinton Township, MI
    Posts
    104

    Watch out! Your partitions seem to OVERLAP! Not good!

    OOH! Unless I misread your fdisk -l output, I see a big problem there Cousin! It looks as if /dev/sda1 covers the entire disk, except the first 3800 or so blocks, and both sda2 and sda3 seem to overlap what's on sda1. If that is the case, no wonder things get confused!

    I have MANY partitions set up; this one is a much more sane implementation, though perhaps too many partitions for what you need:

    Code:
    fdisk -l
    
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x8f800000
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *          63    40001849    20000893+  83  Linux
    /dev/sda2        40001850    80003699    20000925   83  Linux
    /dev/sda3        80003700    84003884     2000092+  82  Linux swap / Solaris
    /dev/sda4        84004009   312576704   114286348    5  Extended
    /dev/sda5        84004011   124005734    20000862   83  Linux
    /dev/sda6       124005798   164007584    20000893+  83  Linux
    /dev/sda7       164007648   204009434    20000893+  83  Linux
    /dev/sda8       204009498   244011284    20000893+  83  Linux
    /dev/sda9       244011348   285956999    20972826   83  Linux
    /dev/sda10      285957063   312576704    13309821   83  Linux

  10. #19
    Linux Newbie
    Join Date
    Apr 2005
    Location
    Clinton Township, MI
    Posts
    104
    Quote Originally Posted by cousinlucky View Post
    This problem of mine has been Solved!!

    Grub needs a "root" statement so it can find the right (disk,partition).
    The "configfile" statement will display the PCLOS menu.lst and you can go from there.

    Make these changes ( in red ) and let us know what happens.

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

    gfxmenu (hd0,0)/boot/grub/message

    title antiX at sda1, kernel 3.5.0-antix.2-486-smp
    root (hd0,0)
    kernel /boot/vmlinuz-3.5.0-antix.2-486-smp root=/dev/sda1 nomce quiet nosplash nouveau.modeset=0 vga=791
    initrd /boot/initrd.img-3.5.0-antix.2-486-smp
    boot

    title PCLinuxOS
    root (hd0,2)
    configfile /boot/grub/menu.lst


    ### BEGIN AUTOMAGIC KERNELS LIST
    Yes, that is a good looking, simple GRUB Legacy config file. Assuming the disk geometry issue that alarmed me has also been taken care of, this approach ought to work just fine.
    Brian Masinick
    masinick AT yahoo DOT com

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •