LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-06-2002, 10:44 PM   #1
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
Thrill boot (rhl 7.2 and 7.3 and win 98/2000)


Hello Friends,

i had install Redhat 7.2 and 7.3 thrill boot with windows 98,
but it's shown only RHL 7.2 and DOS in GRUB boot lodar.(rhl 7.2 boot lodar)
(e.g)
Red Hat linux (2.4.7-10)
root (hd0,8)
kernel /vmlinuz-2.4.7-10 or root=/dev/hda10
initrd /initrd-2.4.7-10.img

DOS

----here it should show some thing like-----
Red Hat linux (2.4.18-3)
root (hd0,5)
kernel /vmlinuz-2.4.18-3 or root=/dev/hda7
initrd /initrd-2.4.18-10.img


this is my fstab file(below)


LABEL=/1
/ ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda8 swap swap defaults 0 0
/dev/hda11 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/c vfat defaults 0 0
/dev/hda5 /mnt/d vfat defaults 0 0

Here my H.D.D partition.

st ed MB type

hda 1 1020 8001 FAT
hda2 1021 2438 11123 Extended
hda5 1021 1530 4001 FAT
hda6 1531 1534 31 ext3
hda7 1535 2044 4001 ext3
hda8 2045 2077 259 linux-swap
hda9 2078 2071 31 ext3
hda10 2082 2405 2542 ext3
hda11 2406 2438 259 linux-swap


Thanks,
Hitesh
 
Old 11-06-2002, 11:01 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
So what's your question? Are you trying to get GRUB to give you the choice of RH 7.2, 7.3, and DOS?
 
Old 11-06-2002, 11:31 PM   #3
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
Hi,

YES, GRUB should give choice to boot any of one (RHL 7.2,7.3 and DOS)
 
Old 11-06-2002, 11:49 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
I would suggest the first thing to try is to use the bootloader from the newer version of redhat (7.3), as using the old one may not detect the newer version.

Can you post the exact contents of your "grub.conf" file, it should be: /etc/grub.conf
 
Old 11-07-2002, 07:45 AM   #5
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
grub.conf file

Hi,

(This grub file is RHL 7.3 file)

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,8)
# kernel /vmlinuz-version ro root=/dev/hda10
# initrd /initrd-version.img
#boot=/dev/hda

default=0
timeout=10
splashimage=(hd0,8)/grub/splash.xpm.gz

title Red Hat Linux (2.4.18-3)
root (hd0,8)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda10
initrd /initrd-2.4.18-3.img
title DOS
rootnoverify (hd0,0)
chainloader +1

here is setup have done,

1) first installed rhl 7.2
2) second installed rhl 7.3,
in this second installation when creating partition /,/boot and swap it is
showning this error message,

"The following pre-existing partition have been selected to be formated
and destorying all data.

/dev/hda8 swap.(RHL 7.2)"

ques: i need more then one operating system on one system,with different version of Red Hat (like 7.2,7.3)

but when ever i install RHL 7.2 or RHL 7.3 (any one of first), every time it's displaying error message.(metion up)

it asking to format SWAP partition of first OS(either 7.2 or 7.3)

Thanks,
 
Old 11-07-2002, 08:02 AM   #6
opal
LQ Newbie
 
Registered: Oct 2002
Location: Berlin
Posts: 11

Rep: Reputation: 0
Hi, im just a newbie, so i have a question about your partition-table...
have you got more than one drive?...
If not, and thats to the nerds, how can you have more then one partition in same cylinder arrea ?
*dazzled*
opal
 
Old 11-07-2002, 08:08 AM   #7
opal
LQ Newbie
 
Registered: Oct 2002
Location: Berlin
Posts: 11

Rep: Reputation: 0
just locked at it again, and thought bevor its sort of
<partition><start cy><end cy> but its even one more
number each line, so i dont understand that parttion table at all,
is that maybe, because i only used very old, very small HDs ?
opal
 
Old 11-07-2002, 08:19 AM   #8
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
need ur file

Hi ,

WELCOME TO OPEN SOURSE....

can u send ur partition table file,

/etc/fstab.conf or

go thorugh this one also,

in KDE menu /system/hardware browers /harddisk option..
 
Old 11-07-2002, 08:45 AM   #9
opal
LQ Newbie
 
Registered: Oct 2002
Location: Berlin
Posts: 11

Rep: Reputation: 0
in my RH7.3 i dont locate a fstab.conf , just a fstab -file
but that just seems to reffer to label-mountpoint- partitiontype,
using "defaults" on about evreything (at the moment)
i dont see how that woüld help you?
 
Old 11-07-2002, 08:48 AM   #10
opal
LQ Newbie
 
Registered: Oct 2002
Location: Berlin
Posts: 11

Rep: Reputation: 0
BTW: no kde, becouse no x becouse of the x-missinstallation in 7.3 which were posts on bevor, im still reading those...
 
Old 11-07-2002, 08:59 AM   #11
opal
LQ Newbie
 
Registered: Oct 2002
Location: Berlin
Posts: 11

Rep: Reputation: 0
Now i try to help, anyone reading this with TRUE understanding-
please do stop me if im wrong!
so when i lock at my partitiontable, with fdisk at prompt
(carefull, its not only to view, but to CHANGE your partition-table)
i see some primary partitions with start-end cylinders one after the other, the third (or fourth) of the primary is an extended partition, that starts next to the end of the one bevor, this extend partition contains several other partions, which, again, follow one on one.
shematic:
hda1 1 - 10
hda2 11 - 21
hda3 21 - 53
extended 54 -100
swap 55 - 60
var 61- 80

etc.
 
Old 11-07-2002, 09:19 AM   #12
opal
LQ Newbie
 
Registered: Oct 2002
Location: Berlin
Posts: 11

Rep: Reputation: 0
and again i have to correct myself - first partition in the extended partition starts with the SAME cylinder then extended, but i think it shoudnt hurt if one wastes space and it starts later.

Last edited by opal; 11-08-2002 at 03:53 AM.
 
Old 11-07-2002, 06:24 PM   #13
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
It is ok to reformat you're swap partition, just make sure you specify that it is the exact same size as before and in the exact same spot. You can share one swap partition with all Linux systems on you're computer.

If you want to choose from all three you need to add a label for all of them, and it appears that you only have RH 7.3 and DOS labelled. So in your grub.conf add the title and info for RH 7.2 eg:

title Red Hat 7.2
root (hd0,8)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda10
initrd /initrd-2.4.18-3.img

but of course change these figures to where 7.2 really is. Save grub.conf, then run as root:

/sbin/grub-install /dev/hda

if this doesn't make sense then read this:
http://www.redhat.com/docs/manuals/l...S1-GRUB-WHATIS
 
Old 11-07-2002, 08:39 PM   #14
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
This is how I set up my win 98, RH7.3, SuSE 8.0 box. Someone may find this helpful.

I wanted to use RH's grub as the boot loader. I have 2 drives. /dev/hda is 40 gig with Win98 in the 1st partition (hda1) with 3 other vfat partitions and SuSE on the last. The 2nd hard drive is /dev/hdb with 20 gigs devoted to RH7.3. Both linux distros share /home on /dev/hdb. Could have shared swap, but chose not to. Chose NOT to share /boot - this was a wise choice.

1st install was RH on /dev/hdb. Painless. Grub loaded into mbr of /dev/hda (hd0,0 in grub-speak). I can now boot RH and Win from Grub screen. Used partition magic to create linux partition in last partition of /dev/hda. (SuSE wants to overwrite a linux partition and I needed to give it one besides my RedHat). Loaded SuSE which automatically installed lilo into the mbr of drive1 temporarily killing grub. I can now only boot SuSE or Windows, not RedHat.

Boot into SuSE as root. Create boot, module, and rescue floppies. Loaded the konsole and at the # prompt entered "lilo -u /dev/hda" -no quotes- which uninstalled lilo and returned the mbr to grub booting RedHat and Windows.

I now reboot into RedHat. I have boot disks for Suse if I screw up. I edit fstab so I can mount the SuSe /boot partition from within RedHat. In order to boot SuSE from Grub, I have to copy the kernel and the initrd file from the SuSE boot directory to the RedHat boot directory. Be sure to rename both files so they have different names than the kernel and initrd file that is already in the RedHat folder -before moving them.

Open grub.conf in a text editor. Copy the lines for the RedHat kernel and paste it to the end of the config file. Rename the kernel and the initrd reference to match the SuSE files. Change the root= line to the correct location of the SuSE / .

Reboot

Grub lists all choices.

This worked for me. YMMV

Good Luck and Have Fun!

Steve

If you wish to see grub.conf just ask.
 
Old 11-08-2002, 04:54 AM   #15
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
it's work fine,but still prob.?

Hi Bulliver,

Thanks again,

but one more prob.

as per ur guide i had add redhat 7.2 title in grub.conf,

when it's boot in RH 7.2 ,booting time it show some Faild error message.even i can login as root sucussfully.now

Ques is: how can i read that error message after i login as root.?

Thanks Again,

Hitesh
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tri boot, XP,Suse 9.2 and win 2000? Doug.Gentry Linux - General 3 04-16-2005 04:00 AM
No Win 2000 boot mohapi Linux - General 3 12-13-2004 05:53 PM
when trying to boot win 2000 i get error 0x07 mms_master Linux - General 1 03-13-2004 03:22 PM
Dual Boot Win 2000 and RedHat 9... beanlover Linux - Newbie 13 09-30-2003 10:36 AM
SuSe 8.0 and Win 2000 boot problems philglau Linux - Newbie 2 02-08-2003 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration