LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-17-2012, 10:36 PM   #1
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 315

Rep: Reputation: 40
Install Redhat but GRUB not able to boot my intitial slackware distro


Hi all,

i have slackware in my system first, then later install rhel 6 in system recently.

However the rhel grub is not able to boot my slackware.

below is my fdisk partitions.
sda2 is my slackware root
sda3 is my /home
sda4 is rhel root
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbc39bc39

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         249     2000061   82  Linux swap / Solaris
/dev/sda2   *         250        2490    18000832+  83  Linux
/dev/sda3            2491        6429    31633251   83  Linux
/dev/sda4            6429        9730    26516480   83  Linux
Next below is my grub.conf
Code:
default=1
timeout=5
splashimage=(hd0,3)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux (2.6.32-71.el6.i686)
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.32-71.el6.i686 ro root=UUID=e0a55e82-5fcd-41f5-a45d-e4866848d1ae rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
    initrd /boot/initramfs-2.6.32-71.el6.i686.img
title Slackware
    rootnoverify (hd0,1)
    chainloader +1
Anybody able to assist me how to modify GRUB to boot my slackware?
Error i have enountered in "Invalid or unsupported format"

Thanks

Last edited by vitalstrike82; 11-17-2012 at 10:51 PM.
 
Old 11-18-2012, 07:44 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu
Posts: 1,210

Rep: Reputation: 238Reputation: 238Reputation: 238
Looks like you don't have grub installed in /dev/sda1, but in the MBR of /dev/sda.
You could modify RH's grub.conf entry for Slack to point to the slack kernel and initrd
Code:
title Slackware
    root (hd0,1)
    kernel /boot/vmlinuz...
    initrd /boot/initramfs...
or, you could install grub in /dev/sda1 (in addition to the MBR of /dev/sda) and keep your current grub.conf file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
quick questions about adding a second distro to dual boot with my Slackware install Cultist Slackware 17 11-16-2011 06:56 AM
Redhat 4 on HP server unable to boot up. Shows grub grub message cghcgh Linux - Server 5 10-13-2009 09:25 PM
to boot Slackware 12.1 can I install grub james2b Slackware 13 11-02-2008 12:27 AM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
How to boot Slackware 9 (install) with Grub ? piraxter Slackware 1 03-24-2003 11:55 AM


All times are GMT -5. The time now is 04:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration