How Do I Add Slackware to Fedora's Grub.conf

  • raziel23x
  • Novice
  • Novice
  • User avatar
  • Posts: 27
  • Loc: Canton Mi

Post 3+ Months Ago

I Am some what new to Linux as in running it as a OS.

Okay In this order I installed to each of my partitions

Windows XP (hd0,0)
Windows XP System Restore (hd0,1)
Fedora 7 (hd0,2)
Slackware 12 (hd0,3)

Windows XP came on this pc and I decided to create two more partitions and installed Fedora and Slackware in this order

Fedora and installed grub.

AT first grub did not detect my XP install (NTFS) but detected my system restore which was a (FAT32). so I had to manually added XP to grub.

I set up my grub this way using Fedora as a example and googled on how to do this and I have no clue

Code: [ Select ]
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
#     all kernel and initrd paths are relative to /, eg.
#     root (hd0,2)
#     kernel /boot/vmlinuz-version ro root=/dev/sda3
#     initrd /boot/initrd-version.img
#boot=/dev/sda
default=4
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.22.9-91.fc7)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.22.9-91.fc7 ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.22.9-91.fc7.img
title Fedora (2.6.20-2936.fc7xen)
    root (hd0,2)
    kernel /boot/xen.gz-2.6.20-2936.fc7
    module /boot/vmlinuz-2.6.20-2936.fc7xen ro root=LABEL=/ rhgb quiet
    module /boot/initrd-2.6.20-2936.fc7xen.img
title Fedora (2.6.20-2925.9.fc7xen)
    root (hd0,2)
    kernel /boot/xen.gz-2.6.20-2925.9.fc7
    module /boot/vmlinuz-2.6.20-2925.9.fc7xen ro root=LABEL=/ rhgb quiet
    module /boot/initrd-2.6.20-2925.9.fc7xen.img
title Fedora-base (2.6.21-1.3194.fc7)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.21-1.3194.fc7.img
title Windows XP
    rootnoverify (hd0,0)
    chainloader +1
title Windows XP Restore
    rootnoverify (hd0,1)
    chainloader +1
title Slackware
    root (hd0,3)
    kernel /boot/linux-2.6.21.7 root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.21.7.img
  1. # grub.conf generated by anaconda
  2. #
  3. # Note that you do not have to rerun grub after making changes to this file
  4. # NOTICE: You do not have a /boot partition. This means that
  5. #     all kernel and initrd paths are relative to /, eg.
  6. #     root (hd0,2)
  7. #     kernel /boot/vmlinuz-version ro root=/dev/sda3
  8. #     initrd /boot/initrd-version.img
  9. #boot=/dev/sda
  10. default=4
  11. timeout=10
  12. splashimage=(hd0,2)/boot/grub/splash.xpm.gz
  13. hiddenmenu
  14. title Fedora (2.6.22.9-91.fc7)
  15.     root (hd0,2)
  16.     kernel /boot/vmlinuz-2.6.22.9-91.fc7 ro root=LABEL=/ rhgb quiet
  17.     initrd /boot/initrd-2.6.22.9-91.fc7.img
  18. title Fedora (2.6.20-2936.fc7xen)
  19.     root (hd0,2)
  20.     kernel /boot/xen.gz-2.6.20-2936.fc7
  21.     module /boot/vmlinuz-2.6.20-2936.fc7xen ro root=LABEL=/ rhgb quiet
  22.     module /boot/initrd-2.6.20-2936.fc7xen.img
  23. title Fedora (2.6.20-2925.9.fc7xen)
  24.     root (hd0,2)
  25.     kernel /boot/xen.gz-2.6.20-2925.9.fc7
  26.     module /boot/vmlinuz-2.6.20-2925.9.fc7xen ro root=LABEL=/ rhgb quiet
  27.     module /boot/initrd-2.6.20-2925.9.fc7xen.img
  28. title Fedora-base (2.6.21-1.3194.fc7)
  29.     root (hd0,2)
  30.     kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
  31.     initrd /boot/initrd-2.6.21-1.3194.fc7.img
  32. title Windows XP
  33.     rootnoverify (hd0,0)
  34.     chainloader +1
  35. title Windows XP Restore
  36.     rootnoverify (hd0,1)
  37.     chainloader +1
  38. title Slackware
  39.     root (hd0,3)
  40.     kernel /boot/linux-2.6.21.7 root=LABEL=/ rhgb quiet
  41.     initrd /boot/initrd-2.6.21.7.img


I tried adding in slackware above like that but i get this error when i try to boot into it
Code: [ Select ]
root (hd0,3)
Filesystem type is ext2fs, partition type 0x83

kernel /boot/linux-2.6.21.7 root=LABEL=/ rhgb quiet

Error 15 File Not Found.
  1. root (hd0,3)
  2. Filesystem type is ext2fs, partition type 0x83
  3. kernel /boot/linux-2.6.21.7 root=LABEL=/ rhgb quiet
  4. Error 15 File Not Found.


I never gotten to view Slackware interface even after reinstalling Fedora because I made a error with a bad install of a program i was working with which corrupted my install and Fedora did not detect the Slackware install nor i was able to access that partition through fedora to look up who it should look like.

I am mainly just trying to have two versions of Linux installed and windows to be able to test the program make making sure they can be accessed and used but more then one OS.

What i want is help if someone can tell me how to configure grub to boot up Slackware I Am running the latest Version of both Fedora and Slackware I just downloaded and burned them both to DVD and installed them 3 days ago. I have been using google without finding a answer that works
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • raziel23x
  • Novice
  • Novice
  • User avatar
  • Posts: 27
  • Loc: Canton Mi

Post 3+ Months Ago

Here is some more information in case you need it


Code: [ Select ]
[root@localhost ~]# fdisk -l

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot   Start     End   Blocks  Id System
/dev/sda1       572    20379  159107760  8e Linux LVM
/dev/sda2        1     571   4586526  b W95 FAT32
/dev/sda3  *    20380    22350  15832057+ 83 Linux
/dev/sda4      22351    24321  15832057+ 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot   Start     End   Blocks  Id System
/dev/sdb1  *      1    30401  244196001  7 HPFS/NTFS
[root@localhost ~]# df -h
Filesystem      Size Used Avail Use% Mounted on
/dev/sda3       15G 5.6G 8.3G 41% /
tmpfs        1013M   0 1013M  0% /dev/shm
/dev/sdb1       233G 154G  80G 66% /media/Storeage
/dev/sda1       152G 121G  32G 80% /media/sda1
[root@localhost ~]# 
  1. [root@localhost ~]# fdisk -l
  2. Disk /dev/sda: 200.0 GB, 200049647616 bytes
  3. 255 heads, 63 sectors/track, 24321 cylinders
  4. Units = cylinders of 16065 * 512 = 8225280 bytes
  5.   Device Boot   Start     End   Blocks  Id System
  6. /dev/sda1       572    20379  159107760  8e Linux LVM
  7. /dev/sda2        1     571   4586526  b W95 FAT32
  8. /dev/sda3  *    20380    22350  15832057+ 83 Linux
  9. /dev/sda4      22351    24321  15832057+ 83 Linux
  10. Partition table entries are not in disk order
  11. Disk /dev/sdb: 250.0 GB, 250059350016 bytes
  12. 255 heads, 63 sectors/track, 30401 cylinders
  13. Units = cylinders of 16065 * 512 = 8225280 bytes
  14.   Device Boot   Start     End   Blocks  Id System
  15. /dev/sdb1  *      1    30401  244196001  7 HPFS/NTFS
  16. [root@localhost ~]# df -h
  17. Filesystem      Size Used Avail Use% Mounted on
  18. /dev/sda3       15G 5.6G 8.3G 41% /
  19. tmpfs        1013M   0 1013M  0% /dev/shm
  20. /dev/sdb1       233G 154G  80G 66% /media/Storeage
  21. /dev/sda1       152G 121G  32G 80% /media/sda1
  22. [root@localhost ~]# 

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 28 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.