LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-04-2003, 04:22 PM   #1
Vlad_M
Member
 
Registered: Aug 2002
Location: Cape Town, South Africa
Distribution: Red Hat 8.0 (Home), Red Hat 8.0 (Work)
Posts: 388

Rep: Reputation: 30
Resurrecting my Linux


Hey all,

First of all, apologies for all that will be offended by my total lack of research into this matter. Yes, I did absolutely no looking up on this, and yes, if I had time to fiddle I could probably work it out on my own. But I am terribly strapped for time at the moment, with a couple of deadlines looming...so I'd really appreciate if someone helped me out, and I will return a favour first chance I get.

To cut the long story short, I had to format my drive (the c: drive) and reinstall windows on it. Grub was hosed in the format, so now I still have my linux partitions on my other drive, but I can not get into it (no bootloader).

I do not have the bootdisk, but I do have a similarly configured box, also running RH 7.3 at work on which I could make a bootdisk.

Can someone tell me/point me to a resource where I could find the steps neccessary for restoring a bootloader? Or even better, can someone tell me how to tell the windows XP loader to see the linux partition? I tried looking at the bootloader of XP but I do not understand it, it does not make sense like good ole LILO does.

Please help, if you can, I'd be much oblidged...

Vlad.
 
Old 02-04-2003, 05:39 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
Do you still have the installation cd's? If you do this is very simple to fix. If you don't It can be very difficult.....
 
Old 02-04-2003, 06:04 PM   #3
fatpig
Member
 
Registered: Dec 2001
Distribution: mandrake
Posts: 87

Rep: Reputation: 15
Cool

windows has a BOOT-LOADER?!?! HOLY COW!

you should be able to install lilo with an install cd right?
 
Old 02-04-2003, 06:38 PM   #4
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Re: Resurrecting my Linux

Quote:
Originally posted by Vlad_M
Hey all,
To cut the long story short, I had to format my drive (the c: drive) and reinstall windows on it. Grub was hosed in the format, so now I still have my linux partitions on my other drive, but I can not get into it (no bootloader).

can, I'd be much oblidged...

Vlad.
There are several standalone bootdisks available. I recommend Tomsbtrt . After you download and follow instructions to write it to a floppy, boot from it, chroot to your linux root partition and rerun the map installer. Let LILO handle your boot menu.
 
Old 02-04-2003, 11:48 PM   #5
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Quote:
Originally posted by fatpig
windows has a BOOT-LOADER?!?! HOLY COW!

you should be able to install lilo with an install cd right?
yes windows has a boot loader
and that is the ntbootloader
which only supports the windows os
that means you can use more than 1 windows os through the boot loader
if you have enough technical know-how you can even boot linux through this boot loader
first boot into your linux partition with the root previlage
then do
dd if=/dev/hda1 of=./LINUXSECT.PBR bs=512 count=1
copy the LINUXSECT.PBR file into your dos system partition
edit the boot.ini file below
[operationg systems] add
C:\=LINUXSECT.PBR="Linux"

next time you boot into windows
there will be choice of linux too
click on linux to boot into your linux partition
more information on linux howto
 
Old 02-05-2003, 12:03 AM   #6
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: Resurrecting my Linux

Quote:
Originally posted by Vlad_M
Hey all,

First of all, apologies for all that will be offended by my total lack of research into this matter. Yes, I did absolutely no looking up on this, and yes, if I had time to fiddle I could probably work it out on my own. But I am terribly strapped for time at the moment, with a couple of deadlines looming...so I'd really appreciate if someone helped me out, and I will return a favour first chance I get.

To cut the long story short, I had to format my drive (the c: drive) and reinstall windows on it. Grub was hosed in the format, so now I still have my linux partitions on my other drive, but I can not get into it (no bootloader).

I do not have the bootdisk, but I do have a similarly configured box, also running RH 7.3 at work on which I could make a bootdisk.

Can someone tell me/point me to a resource where I could find the steps neccessary for restoring a bootloader? Or even better, can someone tell me how to tell the windows XP loader to see the linux partition? I tried looking at the bootloader of XP but I do not understand it, it does not make sense like good ole LILO does.

Please help, if you can, I'd be much oblidged...

Vlad.
There is a easy way out of the trouble even for a lack of knowledge
Put the Installation CD into your cd drive
And boot through it
1.If you have enough knowledge choose the rescue mode
That is that you know in which partition you have installed your linux or if you have created a boot partition -that partition.Usually it is like /dev/hda/b/c/dx where a,b,c,d are determined by where have you connected your harddisk(primary ,secondary -master,slave) and x is the partition number -if you have extended partition that contains logical partition it will be greater or equal to 5.If primary partition it will be between 1-4.
Example:hda8
Rescue mode can be entered by typing linux rescue in the boot prompt.
The rescue mode will boot into a rescue console.
Now type grub on the console.
next you can type find /etc/fstab
it will show a particular partition exhd0,5)
now type root (hd0,5)
next type setup hd0
grub will be installed
if you have a boot partition
instead of /etc/fstab search for /grub/menu.lst
2.If you can't do the above
boot from the red hat cd
and choose upgrade instead of workstation or custom
finally after a upgrade process it will install the bootloader again
 
  


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
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
resurrecting a 386 IBM-PC compatible.... woes kevingpo Linux - Hardware 18 01-13-2006 09:57 AM
Resurrecting an RS/6000 gers4302 AIX 10 11-10-2004 04:41 AM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

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

All times are GMT -5. The time now is 07:49 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