LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-17-2003, 02:36 AM   #1
phikapjames
LQ Newbie
 
Registered: Jul 2003
Location: Cincinnati
Posts: 1

Rep: Reputation: 0
Question how to start linux after deleting boot partition


I was currently using Redhat 9.0. I had 3 hard drives set up the following way:

First Primary: boot partition and misc stuff (not important to linux)
First Secondary: everything but /home /swap /boot
Second Primary:
Second Secondary: /home /swap

The problem comes in that I took the primary out and stuck it in another computer (reformatted) and then I remembered later that I needed to get my mysql info off of the old one.

Is there a way that I can get the computer to boot up and load the linux on there so I can get the mysql info off?
 
Old 07-17-2003, 02:48 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
You can boot from the Linux Distribution CD and get the system up in Rescue Mode.

chroot /mnt/sysimage to mount your linux partitions
mkbootdisk <kernel version>

With this, you will be boot your system from a boot floppy.

Alternatively, you can make the disk that linux is installed on as a master and install lilo/grub, again, after getting your system into rescue mode.

While trying this second option, you will need to make a change in your /etc/fstab to help it recognise the swap drive.

Please click the AFFERO button if my answer helped.

Last edited by ppuru; 07-18-2003 at 12:58 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuck at Grub2 prompt after deleting Linux partition of dual boot alcorta Linux - Software 3 07-08-2005 11:12 PM
Deleting Linux Partition Elader Linux - General 1 04-20-2005 06:01 PM
Deleting Windows partition without damaging Linux GT_Onizuka Linux - General 1 12-29-2004 07:44 PM
Win2K boot failure after deleting linux partition escape Linux - General 6 08-12-2003 02:21 PM
Deleting NTFS Boot partition spaceape Linux - Newbie 3 01-09-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 AM.

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