LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Thrill boot (rhl 7.2 and 7.3 and win 98/2000) (https://www.linuxquestions.org/questions/linux-general-1/thrill-boot-rhl-7-2-and-7-3-and-win-98-2000-a-34786/)

hitesh_linux 11-06-2002 10:44 PM

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

bulliver 11-06-2002 11:01 PM

So what's your question? Are you trying to get GRUB to give you the choice of RH 7.2, 7.3, and DOS?

hitesh_linux 11-06-2002 11:31 PM

Hi,

YES, GRUB should give choice to boot any of one (RHL 7.2,7.3 and DOS)

bulliver 11-06-2002 11:49 PM

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

hitesh_linux 11-07-2002 07:45 AM

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,

opal 11-07-2002 08:02 AM

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

opal 11-07-2002 08:08 AM

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

hitesh_linux 11-07-2002 08:19 AM

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..

opal 11-07-2002 08:45 AM

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?

opal 11-07-2002 08:48 AM

BTW: no kde, becouse no x becouse of the x-missinstallation in 7.3 which were posts on bevor, im still reading those...;)

opal 11-07-2002 08:59 AM

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.

opal 11-07-2002 09:19 AM

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.

bulliver 11-07-2002 06:24 PM

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

Franklin 11-07-2002 08:39 PM

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.

hitesh_linux 11-08-2002 04:54 AM

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


All times are GMT -5. The time now is 11:29 AM.