how to delete a partition/FS

A place to ask all newbie questions and not get flamed, though you will get beaten down if you post a newbieish question outside of these walls.
Post Reply
Ylanday69
Novice
Posts: 38
Joined: Tue May 18, 2004 1:11 am

how to delete a partition/FS

Post by Ylanday69 »

the other day i created a new fs for gentoox and i thought that hdd's read 1000 mb as 1 gb so i wanna delete that one and create a new one thats 2-3 gigs so if anyones got any pointers for me it would be much appreciated thx
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

export fsname="WHATEVER"; umount /mnt/${fsname}; rm -rf /mnt/${fsname}; rm -rf /mnt/fatx/f/${fsname}; grep -v ${fsname} /etc/fstab > /etc/fstab2; mv /etc/fstab2 /etc/fstab

Then rerun `magic newfs`

Of course, change WHATEVER to the actual filesystem name.

That should work
The original Xbox adaptation of Gentoo
Ylanday69
Novice
Posts: 38
Joined: Tue May 18, 2004 1:11 am

Post by Ylanday69 »

thx shALL, ur the man!!!
Post Reply