Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

adding a new partition - changes to make afterwars.

Need help with peripherals or devices?
Post Reply
Message
Author
hal styli

adding a new partition - changes to make afterwars.

#1 Post by hal styli »

hello, can someone please help me...

i have - sorry had - a debian setup with hda5 as ext2 and hda6 as swap.
I used partition magic to add 3 Dos partitions (or slice a big one into 4).

now i have hda7 and hda8 as ext2 and swap respectively.

What can I can do to let deb know i have made the change and react nicely?

I get: bad magic number in super-blockwhile trying to open /dev/hda7 with a suggestion to run e2fsck with an alternate superblock.

When I am let in with root mounted r/o, the mount command shows as
/dev/hda5 on / type ext2 (rw,errors=remount-ro).

should i simply edit some fstab file or is it more involved. I have a knopppix cd handy...

thanks for any constructive help given
Hal

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#2 Post by Jeroen »

1) Use cfdisk to see how your current partitions are named

2) Edit fstab correctly

3) If you root partition changed number, edit lilo/grub config and re-run it

4) Did you resize any partition and/or add an linux partition? If so, you'll need to 'format' that partition -- make a filesystem on it. It will destroy any current contents though.

Hal Styli

adding a new partition - changes to make afterwards.

#3 Post by Hal Styli »

Jeroen wrote:1) Use cfdisk to see how your current partitions are named

2) Edit fstab correctly

3) If you root partition changed number, edit lilo/grub config and re-run it

4) Did you resize any partition and/or add an linux partition? If so, you'll need to 'format' that partition -- make a filesystem on it. It will destroy any current contents though.
Thanks, that did it! (no resizing)

Hal

Post Reply