Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-09-2005, 10:20 AM   #1
Registered: May 2004
Location: USA
Distribution: pclinuxos
Posts: 37

Rep: Reputation: 15
Re-Partioning lost my Linux drive

I have 2 HDs,1 windows, 1 linux (PClinuxOS) After re-partioning my windows drive (in Windows). I have Lilo installed on hdb3, however I use GAG as my boot manager. All goes well, I boot to linux fine except now when it looks for hda1,2,3,5 It can't find it and I get a error message " can't be found, dropping you to a shell,enter root password for maintenance"
after logging in as root, I try typing "Y" or "yes" to repair but of-course I get "command not Found"
Is there a way to fix this short of a re-install or or a wipe and fresh start??

thanks in advance for any advice
Old 12-09-2005, 11:34 AM   #2
Registered: Aug 2003
Location: South Wales
Distribution: Kubuntu, Ubuntu server, SuSE 11, Knoppix, Puppy, Myth. Oh alright then, all of them
Posts: 177

Rep: Reputation: 30
Sounds like your Linux partition might still be there but is now a different number.

A good tool for discovering the available partitions is a Knoppix live distro which should detect them and enable you to view the contents of each.

You will need to rewrite your fstab and lilo files to accomodate any changes which you should be able to do from Knoppix by mounting the relevant partition read/write.

Then all being well reboot into your OS.

Others might have a better way of doing this however. Good Luck.
Old 12-13-2005, 12:26 PM   #3
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
I'll second pri's sugegsion. A live-cd is your best option (short of reinstalling, but that would be cheeating, now wouldn't it?) Knoppix is a very good option. There are other live distros and it doesn't really matter which one you use, except that Knoppix has a lrge selection of very good tools. If you want something smaller (because downloading is slow or ... ) you could also try SystemRescueCD which has many good command line tools.
Old 02-20-2006, 05:19 AM   #4
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 165

Rep: Reputation: 24
noticed this post while looking for something else, so it is a very late response. remembered something similar happened to me - the dev numbers got mixed around. there is an advanced option in fdisk which will put them all back in the right place


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
A, Partioning Drive Help Jae30001 Mandriva 1 07-19-2004 10:11 AM
Partioning a drive with Windows XP to install Mandrake 9.1 Delmarc Linux - Newbie 2 10-24-2003 10:01 PM
Partioning for linux nuhn123 Linux - Newbie 4 09-06-2003 09:24 AM
Expert opinion partioning hard drive & making raid 1 coskun Linux - General 0 07-07-2003 08:40 PM
hard drive partioning Eskimo Linux - Newbie 24 11-16-2001 04:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration