Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
I had to re-install my Antix distro so I created a partition and installed the Gnome version of PCLinuxOS first. I then installed AntiX12. At a reboot I tried to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676

    I need help with grub please!


    I had to re-install my Antix distro so I created a partition and installed the Gnome version of PCLinuxOS first. I then installed AntiX12. At a reboot I tried to get to the PCLinux but I got " Error 15 file not found ".

    I am hoping that someone at LF can tell me how to correct this! Thanks!
    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. #2
    Linux Guru
    Join Date
    Jul 2008
    Posts
    4,201
    Cuz. Post /boot/grub/menu.lst if using AntiX grub. Also post terminal output of
    Code:
    fdisk -l
    Also. Be more elaborate in yout post about how you installed PCLos grub and AntiX grub. Are both grub installs done to the MBR?
    Also is PCLOS using grub2. I already know AntiX uses grub legacy. I chainload grub 2 in AntiX grub file for grub 2 distros but I install
    grub 2 to root instead of mbr when I do multiboot installs.

  3. #3
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    OK, Roky!

    root@antiX1:/home/cousinlucky
    # /boot/grub/menu
    bash: /boot/grub/menu: No such file or directory
    root@antiX1:/home/cousinlucky
    # fdisk -l

    Disk /dev/sda: 160 GB, 160039272960 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 3896 31294588 83 Linux
    Warning: Partition 1 does not end on cylinder boundary.
    /dev/sda3 3896 19193 122873152 83 Linux
    Warning: Partition 3 does not end on cylinder boundary.
    /dev/sda2 19194 19457 2112547 82 Linux swap
    root@antiX1:/home/cousinlucky
    #
    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. #4
    Linux Guru
    Join Date
    Jul 2008
    Posts
    4,201
    The command is

    Code:
    harry@antiX1:~$ cat /boot/grub/menu.lst
    timeout 10
    color cyan/blue white/blue
    foreground ffffff
    background 0639a1
    
    gfxmenu /boot/grub/message
    
    
    ### 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=43f8bca6-5193-4fb2-a78b-78c33c2e24ce ro
    # kopt_2_6=root=UUID=43f8bca6-5193-4fb2-a78b-78c33c2e24ce 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.6.2-antix.1-486-smp
    root		(hd0,0)
    kernel		/boot/vmlinuz-3.6.2-antix.1-486-smp root=UUID=43f8bca6-5193-4fb2-a78b-78c33c2e24ce ro 
    initrd		/boot/initrd.img-3.6.2-antix.1-486-smp
    
    title		Debian GNU/Linux, kernel 3.6.2-antix.1-486-smp (init-3)
    root		(hd0,0)
    kernel		/boot/vmlinuz-3.6.2-antix.1-486-smp root=UUID=43f8bca6-5193-4fb2-a78b-78c33c2e24ce ro 3
    initrd		/boot/initrd.img-3.6.2-antix.1-486-smp
    
    title		Debian GNU/Linux, kernel 3.2.0-3-486
    root		(hd0,0)
    kernel		/boot/vmlinuz-3.2.0-3-486 root=UUID=43f8bca6-5193-4fb2-a78b-78c33c2e24ce ro 
    initrd		/boot/initrd.img-3.2.0-3-486
    
    title		Debian GNU/Linux, kernel 3.2.0-3-486 (init-3)
    root		(hd0,0)
    kernel		/boot/vmlinuz-3.2.0-3-486 root=UUID=43f8bca6-5193-4fb2-a78b-78c33c2e24ce ro 3
    initrd		/boot/initrd.img-3.2.0-3-486
    
    title		Debian GNU/Linux, kernel memtest86+
    root		(hd0,0)
    kernel		/boot/memtest86+.bin
    And what about?

    Also. Be more elaborate in yout post about how you installed PCLos grub and AntiX grub. Are both grub installs done to the MBR?
    Also is PCLOS using grub2

  6. #5
    Linux User Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    415
    Hey Lucky,

    I still consider myself too noob to *nix to say for sure, and I'd wait to hear back from roky b/c he knows his stuff. But, there are some things that apply across the board.

    It looks like there were some errors in your partitioning scheme. Your partitons don't end on cylinder boundaries. This could be indicative of either software issues during the partitoning process or possible hardware issues with the drive itself.

    I'd recommend that you dl the ultimate boot cd, read some of the tutorials and check the disk itself for issues, in addition to whatever suggetions the guru's have to make on the *nix side.

  7. #6
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Thread moved here to the Debian forum.
    Cousinlucky, just for future reference, anytime you have a problem and/or need help....post it into the correct forum (AntiX is Debian based) instead of the coffee lounge. Not trying to be a big bad meanie but coffee lounge is for general chat and mayhem only.
    Also, posts in the coffee lounge don't count towards your total post count. I'm sure you want to hit that Guru status someday (What is it 1000 posts?I forget)
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  8. #7
    Linux Guru
    Join Date
    Jul 2008
    Posts
    4,201
    I don't feel like a guru. More like a shady tree Linux friganeer. I was wondering also about why in the coffee lounge but I am not into patches/medals/status.

  9. #8
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    cousinlucky@antiX1:~
    $ cat /boot/grub/menu.lst
    timeout 10
    color cyan/blue white/blue
    foreground ffffff
    background 0639a1

    gfxmenu /boot/grub/message

    title antiX at sda1, kernel 3.5.0-antix.2-486-smp
    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 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

    ### 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=f414e622-c48e-4f81-9983-95f358629646 ro
    # kopt_2_6=root=UUID=f414e622-c48e-4f81-9983-95f358629646 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 antiX-12, kernel 3.5.0-antix.2-486-smp
    root (hd0,0)
    kernel /boot/vmlinuz-3.5.0-antix.2-486-smp root=UUID=f414e622-c48e-4f81-9983-95f358629646 ro
    initrd /boot/initrd.img-3.5.0-antix.2-486-smp

    title antiX-12, kernel 3.5.0-antix.2-486-smp (init-3)
    root (hd0,0)
    kernel /boot/vmlinuz-3.5.0-antix.2-486-smp root=UUID=f414e622-c48e-4f81-9983-95f358629646 ro 3
    initrd /boot/initrd.img-3.5.0-antix.2-486-smp

    title antiX-12, kernel memtest86+
    root (hd0,0)
    kernel /boot/memtest86+.bin

    ### END DEBIAN AUTOMAGIC KERNELS LIST
    cousinlucky@antiX1:~
    $

    Gentlemen, you know that I do not know what I am doing. AntiX12 is in /dev/sda1, PCLinuxOS is next to it in /dev/sda3 and the swap partition / dev/sda2 is on the end.
    AntiX is in the MBA but I do not think PCLinuxOS even asked.. The PCLinux grug worked after I installed it but after I installed Antix12 just Linux appears second from the top in the grub list as linux and when I click it I get the Error 15 file not found.
    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!!

  10. #9
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    Quote Originally Posted by MikeTbob View Post
    Thread moved here to the Debian forum.
    Cousinlucky, just for future reference, anytime you have a problem and/or need help....post it into the correct forum (AntiX is Debian based) instead of the coffee lounge. Not trying to be a big bad meanie but coffee lounge is for general chat and mayhem only.
    Also, posts in the coffee lounge don't count towards your total post count. I'm sure you want to hit that Guru status someday (What is it 1000 posts?I forget)

    I'm vying for the " Title " Mike of " most inept linux user on the planet " Guru is indeed funny!
    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!!

  11. #10
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    First verify that the UUIDs are correct. The first one for PCLinux beginnning with: UUID=724d... should be the PCLinux / partition (sda3), the second UUID on that line beginning with: 9307... should be the swap partition (sda2). You can check this by running the command: blkid. Another thing you might try is to put (hd0,2) in the PCLinux line:

    Code:
    title PCLinuxOS
    kernel (hd0,2)/boot/vmlinuz...
    I don't think that will help because you have UUIDs but, nothing to lose. I notice from your output of fdisk that your Start blocks are the same for sda1 and sd3 which I don't recall seeing outside an Extended partition?

Page 1 of 2 1 2 LastLast

Posting Permissions

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