LinuxQuestions.org
Review your favorite Linux distribution.
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 01-09-2005, 03:32 PM   #1
Nightfrost
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: ArchLinux
Posts: 201

Rep: Reputation: 30
help needed asap (reboot=death)!


Dear all,

I'm in great need of some help now. I accidently messed up my partition table. Instead of zcat xxxx > /dev/sdb, I issued zcat xxxx > /dev/sda, which is my main hard drive with my whole life on it. Everything works for now, but I know that when I reboot I'm done for.

Unfortunately, I have no time to look through the net for a solution, since I have to hand over this shared computer asap.

cfdisk says

Code:
FATAL ERROR: Bad primary partition 0: Partition begins after end-of-disk
Press any key to exit cfdisk


Is there any fix for this before I reboot! Please!

Thanks.
 
Old 01-09-2005, 07:46 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
I don't know. But if all else fails, and you do not get your answer and have to reboot. Try running Knoppix and try to save the data from the bad partition. It could work.
 
Old 01-09-2005, 08:05 PM   #3
Nightfrost
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: ArchLinux
Posts: 201

Original Poster
Rep: Reputation: 30
OK; I have the partition table information from /sys/block/sda

How do I write it back to the disk? This must me possible - I will be ever so greatful to whoever helps me! I'm really desperate now....
 
  


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
application won't compile. Help needed ASAP nunation Programming 1 03-22-2005 03:46 PM
Need Help Asap don_dimo Linux - Software 9 10-19-2003 02:11 PM
Need HELP ASAP!!!!! adamgedde Linux - Networking 12 10-18-2003 04:14 PM
MySQL help needed asap! brandog Linux - General 2 03-12-2003 03:32 PM
really weird DNS issue. Help needed ASAP! Supp0rtLinux Linux - Networking 2 05-20-2002 10:02 PM

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

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