LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-21-2002, 05:00 AM   #1
shutupkid
LQ Newbie
 
Registered: Nov 2002
Location: the district
Distribution: Redhat
Posts: 19

Rep: Reputation: 0
Question Help! (grub)


yesterday while in windows(2000) which im duel booting with rh8 (until i get rh working correctly) i was playing around with partition magic8.. after installing it, i was given a message that there was free space between partitions that could be divided up and returned to the active partitions for more space... i thought 'cool' and ran the program... well the computer robooted and ran under win2k before actually reachign windows... well partition magic is unable to touch linux file system information so it was halted once it reached my linux partitions... the task completed early, only assigning some extra previously unassigned space to my win2k partition... Now after rebooting im immediatly taken to 'grub' which looks to be a pre-linux command type thing... did i wipe out my mbr? does anybody know how i can get my operating systems back? this grub thing comes up before the floppy drive reads so i was unable to use a boot disk... help!! tia -james
 
Old 11-21-2002, 06:01 AM   #2
jdc2048
Member
 
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Sounds like you did wipe out the MBR. You could use the RH disk 1 to boot your system. type "linux rescue" once the CD boots and then re-install your MBR. basically, you will want to chroot to the linux installation, then run "grub-install /dev/hda" to re-install your MBR. Exit the chroot session, then reboot your system and you should be good.

HTH
 
Old 11-21-2002, 07:18 AM   #3
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Quote:
yesterday while in windows(2000) which im duel booting with rh8 (until i get rh working correctly) i was playing around with partition magic8..
In what way were you dual-booting? Were you booting Linux from a floppy, or were you using the W2K ntldr/boot.ini method?

Grub is a boot manager, and a very good one fully capable of booting Linux and Windoze OSes. You would so very well to use it for a good dual-booting environment.

And BTW it's "dual", not "duel" !!
 
Old 11-21-2002, 09:36 AM   #4
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Quote:
Originally posted by jglen490

And BTW it's "dual", not "duel" !!
He might have been talking about staging a show-down between Windows 2000 and Linux at ten paces.

You never know.

Bert
 
Old 11-21-2002, 10:46 AM   #5
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
 
Old 11-21-2002, 04:50 PM   #6
shutupkid
LQ Newbie
 
Registered: Nov 2002
Location: the district
Distribution: Redhat
Posts: 19

Original Poster
Rep: Reputation: 0
oh my gosh.. im so behind in my work (now using public computer)

Ok.. im still down.. i booted from cd but am unable to simply use the linux repair command since i have to use the linux nousb in order to make it through without freezing.. so from the cd i went to " repair (f5)" and once in there i run linux nousb.. the system then loads and brings me to the linux install menu.. at that menu with the type of installations available ie: personal, workstation server custom.... i chose the very last option which i think was restore or upgrade existing system.. in there i chose to create a new boot manager and chose lilo to be installed on the mbr.. in order for this change to be made i MUST select atleast one item from the system tab to be installed.. i chose smp (for multi cpus... i have two anyway....) so it installs and restarts.. but still brings me to the grub screen.... what am i doing wrong? do i need to use the linux rescue command? tia! -james
 
Old 11-21-2002, 06:21 PM   #7
jdc2048
Member
 
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Yes, at the point where you are pressing "F5", type "linux rescue nousb" instead of pressing F5. Somebody help me if you can't use the two options together on the same line.

You should get a command line, not a install menu if this works correctly.
 
Old 11-21-2002, 08:13 PM   #8
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
OK. No disrespect to LILO users but use GRUB. It's far more flexible and boots quickly from floppies too.

Do you have a boot floppy? Or not? Does your BIOS allow you to boot from media other than the HDD (I'm sure it does, try pressing f2 or f12).

If you don't have a boot floppy for either Windows or Linux, well that'll learn ya! Try doing the reinstall and check the option for "No bootloader", and make a boot floppy at the end of the install wizard.

At the risk of sounding facetious, always make a boot floppy for both OSs before you moving partitions.
 
Old 11-21-2002, 09:00 PM   #9
shutupkid
LQ Newbie
 
Registered: Nov 2002
Location: the district
Distribution: Redhat
Posts: 19

Original Poster
Rep: Reputation: 0
got it!!! thanks a ton guys... i was able to rebuild my mbr.. windows was saved.. but partition magic caused a few problems with linux.. not a problem though, i want to try the ftp based installation.. thanks again guys -james
 
  


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM

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

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