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.
Is there a way to format my hard drives from Suse 7.0. I am trying to install Mandrake 9.2. I know that Mandrake has a utility for that but it does NOT work. All the installs freeze before getting there... My technician is convinced that I loaded Distro's to many time on my hard drive and thats why its not letting me install. I WANT TO DO A LOW LEVEL FORMAT ON MY HARD DRIVES, i do not have internet access on suse 7.0 so i cannot download then directly... Anything I do will have to be burned on a CDRom from WIN XP and then booted up on my Suse 7.0 Machine. My hard drives are a quantum fireball CR 6.0GiG and a 3.4 WD Caviar. Please Help
If you have IDE drives you better not do a low level format if you ever hope to use them again. To format a drive you just run mkfs.<fs> /dev/hdxy where x and y designate drive and partition.
I have probably formatted my drives 200 times and they are still kicking....
type mount and it should print out a list like this:
/dev/hde3 on / type reiserfs (rw,noatime)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw)
/dev/hde1 on /boot type reiserfs (rw,noatime,notail)
/dev/hdh1 on /storage type reiserfs (rw,noatime)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)
Now you can see from this that on my machine
/dev/hde1 is /boot
/dev/hde3 is /
/dev/hdh1 is /storage
If you are wondering where /dev/hde2 went, it happens to be my swap partition.
Of course mount only shows you mounted partitions. Typing dmesg will show you a list of your disk and how many partitions are on it, but you have to wade through it to find the list, because it outputs all the kernel messages.
oh ok... well here is where i am ...
bash-2.04# mount
/dev/hdb3 on / type ext2 (rw)
proc on /proc type proc (rw)
/dev/hdb1 on /boot type ext2 (rw)
usbddevfs on /proc/bus/usb type usbdevfs (rw)
devpts on /dev/pts type devpts (rw)
bash-2.04# mkfs.<fs> /dev/hdb3
bash: fs: No such file or directory
bash-2.04# mkfs.<fs> /dev/hdb1
bash: fs: No such file or directory
bash-2.04# mkfs.</dev/hdb3>
bash: syntax error near unexpected token 'mkfs. </dev/hdb3'
bash-2.04#
i guess you cannot format your hard drive from linux... i suppose that makes sense... if you using it... but like in windows... you have dos to do that for you... is there any solution to my formatting problem... or any help with my command structure... or any ideas on how to help would be great....
The MDK installer should be able to repartition and format the hard drive.
Explain the steps you are trying, maybe your just selecting the wrong option.
Yes, you can partition and format from linux but not on a partition that is in use. The best way if your trying to reformat the entire drive is to boot up from a CD or floppy boot disk.
So lets go back and explain what are the errors with installing Mandrake
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.