Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
I'm having problems adding pclinuxos to my grub, which is on the mbr. I tried doing this: http://www.pclinuxonline.com/wiki/GrubMenu , but that did not work, it gave me an error. I'll ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318

    Adding PCLinuxOS to Grub.


    I'm having problems adding pclinuxos to my grub, which is on the mbr. I tried doing this: http://www.pclinuxonline.com/wiki/GrubMenu , but that did not work, it gave me an error. I'll go check the error a sec when I'm done posting this and tell you guys what it says. I know the (hd0,0) part is right, and the /dev/hda0 part - Mine is (hd0,7) and /dev/hda8, because the root is on the 8th partition. Any help would be appreciated.

    EDIT: The error says that kernel (hd0,7)/boot/vmlinuz-2.6.12-oci4.mdk root=/dev/hda8 vga=0x317 does not exist. (Error 15)

  2. #2
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    The error says that kernel (hd0,7)/boot/vmlinuz-2.6.12-oci4.mdk root=/dev/hda8 vga=0x317 does not exist. (Error 15)

  3. #3
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    please paste the output of
    Code:
     fdisk -l
    and the output of either
    Code:
    /boot/grub/grub.conf or menu.lst
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    Code:
    #
    GNU nano 1.2.5                                                          File: /boot/grub/menu.lst                                                                     
    #
     
    #
    # Config file for GRUB - The GNU GRand Unified Bootloader
    #
    # /boot/grub/menu.lst
    #
     
    #
    # DEVICE NAME CONVERSIONS
    #
    #
    #
    #  Linux           Grub
    #
    # -------------------------
    #
    #  /dev/fd0        (fd0)
    #
    #  /dev/hda        (hd0)
    #
    #  /dev/hdb2       (hd1,1)
    #
    #  /dev/hda3       (hd0,2)
    #
    #
    #
     
    #
    #  FRAMEBUFFER RESOLUTION SETTINGS
    #
    #     +-------------------------------------------------+
    #
    #          | 640x480    800x600    1024x768   1280x1024
    #
    #      ----+--------------------------------------------
    #
    #      256 | 0x301=769  0x303=771  0x305=773   0x307=775
    #
    #      32K | 0x310=784  0x313=787  0x316=790   0x319=793
    #
    #      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
    #
    #      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
    #
    #     +-------------------------------------------------+
    #
     
    #
    # general configuration:
    #
    timeout   39
    #
    default   0
    #
    color light-blue/black light-cyan/blue
    #
     
    #
    # boot sections follow
    #
    # each is implicitly numbered from 0 in the order of appearance below
    #
    #
    #
    # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
    #
    #
    #
    #-*
    #
     
    #
    # (0) Arch Linux
    #
    title  Arch Linux
    root   (hd0,4)
    kernel /boot/vmlinuz26 root=/dev/hda5 ro
    initrd /boot/initrd26.img
    #
     
    #
    # (1) Windows XP
    #
    title Windows
    rootnoverify (hd0,0)
    chainloader +1
    #
     
    #
    # (2) PCLinuxOS
    #
    title PCLinuxOS
    kernel (hd0,7)/boot/vmlinuz-2.6.12-oci4.mdk root=/dev/hda8 vga=0x317
    initrd (hd0,7)/boot/initrd-2.6.12-oci4.mdk.
    Code:
    # fdisk -l
    
    Disk /dev/hda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1   *           1        5522    44355433+   7  HPFS/NTFS
    /dev/hda2            5523        9729    33792727+   5  Extended
    /dev/hda5            5523        5974     3630658+  83  Linux
    /dev/hda6            5975        6040      530113+  82  Linux swap / Solaris
    /dev/hda7            6041        7318    10265503+  83  Linux
    /dev/hda8            7319        8592    10233373+  83  Linux
    /dev/hda9            8593        9729     9132921   83  Linux
    Last edited by loft306; 02-20-2006 at 07:03 AM.

  6. #5
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    also please paste the output of
    Code:
    ls  /boot
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  7. #6
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    Code:
    # ls /boot
    System.map26  diag1.img  grub  initrd26-full.img 
     initrd26.img  kconfig26  vmlinuz26

  8. #7
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    it looks to me as if the kernel for PCLinuxOS wasnt cp'd to /boot
    so either point to its location or cp it to boot

    or third option boot off the other kernel then just have it goto the root/realroot


    wait the root (hd0,4) is missing try that first

    and lastly when installing another distro the /boot is usualy skipped or edited out on the 2nd 3rd....ect distro's and the contents cp'd to the first distros /boot to make life & booting simple
    Last edited by loft306; 02-20-2006 at 07:19 AM.
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  9. #8
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    Quote Originally Posted by loft306
    and lastly when installing another distro the /boot is usualy skipped or edited out on the 2nd 3rd....ect distro's and the contents cp'd to the first distros /boot to make life & booting simple
    So it should add itself to grub when I choose to install the bootloader in other words?

  10. #9
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    ???????????????
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  11. #10
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    Code:
    # (3) PCLinuxOS 2
    title PCLinuxOS vmlinuz26
    kernel (hd0,7)/boot/vmlinuz26 root=/dev/hda8 vga=0x317
    initrd (hd0,7)/boot/initrd26.img
    Returned the same error when I tried to start it.

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
  •