Date: Thu, 27 Jan 2005 02:42:18 -0800 (PST) From: saravanan ganapathy <sarav_gsa@yahoo.com> To: freebsd-questions@freebsd.org Subject: modify existing partitions - newbie Message-ID: <20050127104219.60643.qmail@web51707.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hai, I just needed to delete some partitions(ad0s1e & ad0s1f) in my existing slice(ad0s1) and recreate with some changes. 1) I tried using 'sysinstll --> Config --> Label' , then delete e & f , but this couldn't write. It says 'unable to write data on ad0' . What is the problem? 2) Tried using 'disklabel -e ad0s1', then a file opens. I deleted the last two lines(e & f) and saved. Now it shows as the following # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 41943040 0 4.2BSD 2048 16384 28552 b: 4194304 83886080 swap c: 320159322 0 unused 0 0 # "raw" part, don't edit d: 41943040 41943040 4.2BSD 2048 16384 28552 Is it the correct way to delete the partitions? 3) How to add new partitions in the same slice? ( I read lot of links, all are about formatting a new slice) Please help me Sarav __________________________________ Do you Yahoo!? All your favorites on one personal page – Try My Yahoo! http://my.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050127104219.60643.qmail>