LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   partition magic ouchy! (https://www.linuxquestions.org/questions/linux-newbie-8/partition-magic-ouchy-20904/)

milos 05-14-2002 02:57 AM

partition magic ouchy!
 
Hey folks,

Big problem(me thinks anyway).

Situation: created partitions on a 20G HD as follows.
1. first 5G win98 C:
2. next 3G linux(+swap) hde6
3. next 2G fat32 D:
4. next 2G linux ext2 hde8

did this using partition magic ( i know, i know). Anyway, I decided to extend my linux hde6 partition, soooo, I deleted the fat32 D: partition and extended my hde6 another 2G. Now for the problem.

When I deleted the fat32 D: partition, partition magic rewrote my partition table and changed my second linux partition to hde7 (vs hde8). So now when I boot up linux doesn't recognize hde7 and has a problem recognizing hde8 since it doesn't exist anymore (bad superblock and 0 block errors). Is there anyway to edit the partition table or edit my boot files. As of now, i can only enter in single-user mode with read only options so i can't rewrite any files. Anyhow any help would be greatly appreciated.

thx milos

linuxcool 05-14-2002 04:35 AM

Boot into single user mode and run the command
mount -n -o remount,rw /dev/hde7. This will remount the partition in read/write mode.

Then edit your /etc/fstab file to reflect the new root ' / ' partition and any other partitions that might have also changed. Also, edit your lilo or grub configuration files.

bsamson 05-14-2002 11:29 AM

Re: partition magic ouchy!
 
Quote:

Originally posted by milos
did this using partition magic ( i know, i know).
Um ... I have used Partition Magic for a long time ... w/ Linux and Microsoft ... Dont understand why the 'i know, i know'??

acid_kewpie 05-14-2002 11:52 AM

ok, so this is the PERFECT reason not to double post... this thread was put up twicem and on the other one, which i already referenced back to this one... the author replied saying that they'd fixed it already...

so... DO NOT DOUBLE POST!!!!!!

Thymox 05-14-2002 12:49 PM

Hey, Chris. Here's a thought. If you are pretty early on the 'do not double post' reply, you could close the thread, leaving only the original/1st thread available and a link in the closed one - that way you would prevent utter confusion when the same question has different answers in different threads and pisses everyone off.

Just a suggestion.


All times are GMT -5. The time now is 01:59 PM.