[SOLVED] problem using gparted after wiping hd with dban
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What happens when you use 'fdisk /dev/hdb' to create your partitions?
If you use 'fdisk' to create the necessary partitions for your install you will need to create the filesystem.
For the swap you will use 'mkswap -c /dev/hdb1' (if you create the hdb1 as a swap( linux type 82). Then if you create a '/dev/hdb2' as your second partition in 'fdisk' you can then create a ext2 filesystem by 'mke2fs -c /dev/hdb2'.
You should 'man' the command for understanding.
BTW, the block size most use is '4096'. Dban left the stale block size and parted default inode is set to '2048'. So parted formatted with '2048' block size.
OK, let me clarify: I put a cd with gparted-live-0.4.5-2.iso burned to it into the computer. I then booted the computer. I did not press any keys;I let gparted do it's thing automatically. It shows lots of white-on-gray text, then stops at "default to 2kb block size." It does not allow me to type anything. Got it?
I know how gparted functions. You did confirm the 'md5sum' for the LiveCD image, right? If not and the ISO has errors then it won't function properly for you. After you check the ISO, be sure to check the cd/dvd image you have burnt to confirm that it is OK.
As for using the fdisk, mkswap and mke2fs I'm stating that you can use your install disk or any Livcd to setup the partition(s) with the filesystem. The block size default is 2048 for gparted. If that's acceptable to you then so be it. Go as you wish.
I do not know how to check a cd for errors after it has been burned, but I am fairly confident that there are none. As for using my Puppy LiveCD to set up the partions, I am not able to do this because the boot stops at Performing a 'switch_root' to the layered filesystem...Kernel panic - not syncing: Attempted to kill init!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.