Welcome to Dream.In.Code
Click Here
Getting Help is Easy!

Join 118,866 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,726 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Format Harddrive, Ubuntu 8.04

 
Reply to this topicStart new topic

Format Harddrive, Ubuntu 8.04

Thorian
post 28 Apr, 2008 - 08:24 AM
Post #1


Pirate Medic

Group Icon
Joined: 6 Jun, 2002
Posts: 5,650



Thanked 4 times

Dream Kudos: 275
My Contributions


Here is the deal I scrounged up an old server with 2 P3 800's 2 GB of ram and a pair of 300 GB IDE drives I have a 20 gb drive that I installed ubuntu on to. and the other drives are showing up with their old windows contents.

This box used to be an image storage server but since we got the SAN installed we haven't used this thing so I figured samba file server FTW.

Unfortunately I have never done squat with linux to any great level so I dont know the command structure. The drive ID is 0,1,0 at boot and /// under the properties in computer.

I tried to install ubuntu server first and found out that I needed a GUI if I were to ever really use this.


User is offlineProfile CardPM

Go to the top of the page


no2pencil
post 28 Apr, 2008 - 08:30 AM
Post #2


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 5,523



Thanked 36 times

Dream Kudos: 2350

Expert In: Goofing Off

My Contributions


QUOTE(Thorian @ 28 Apr, 2008 - 11:24 AM) *

I tried to install ubuntu server first and found out that I needed a GUI if I were to ever really use this.

If you are not up to speed with Linux on a server level, I would suggest against learning with Ubuntu. I would suggest getting something with known server strength (& usage) like a Debian, or FreeBSD. Anything that forces a GUI, shouldn't be used in a server environment (such as Windows)

Just my 2¢
User is online!Profile CardPM

Go to the top of the page

Thorian
post 28 Apr, 2008 - 09:36 AM
Post #3


Pirate Medic

Group Icon
Joined: 6 Jun, 2002
Posts: 5,650



Thanked 4 times

Dream Kudos: 275
My Contributions


Umm that is a nice observation and I am downloading freeBSD. But how do I format a drive?
User is offlineProfile CardPM

Go to the top of the page

girasquid
post 28 Apr, 2008 - 09:49 AM
Post #4


Barbarbar

Group Icon
Joined: 3 Oct, 2006
Posts: 1,211



Thanked 9 times

Dream Kudos: 650
My Contributions


Lots of distros will have a formatter/partitioner/etc. on their install CD.

I don't entirely agree with no2pencil about Ubuntu not being viable as a server - there is a Ubuntu server flavor available, and it's worked for me just fine.

here is the guide I used to format a drive for my linux box.
User is offlineProfile CardPM

Go to the top of the page

Thorian
post 28 Apr, 2008 - 10:29 AM
Post #5


Pirate Medic

Group Icon
Joined: 6 Jun, 2002
Posts: 5,650



Thanked 4 times

Dream Kudos: 275
My Contributions


Yep ubuntu has a partitioner but it only will partition out the main drive. There does not seem to be a listing of devices

sudo Fdisk /dev/hda
sudo fdisk /dev/hdb come up unable to open when I used sudo fdisk /// that ubuntu listed as the second drive location it comes up asking for root password and then comes up unable to read.

See this is the problem with linux what should be a simple command on a known file structure is a bunch of obscure bullshit.
I can format a goddamn drive in every flavor of windows and mac os ever created except for this supposidly friendly linux distro. It is no one heres fault just my main arguement against linux from the beginning.
User is offlineProfile CardPM

Go to the top of the page

no2pencil
post 28 Apr, 2008 - 08:45 PM
Post #6


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 5,523



Thanked 36 times

Dream Kudos: 2350

Expert In: Goofing Off

My Contributions


QUOTE(Thorian @ 28 Apr, 2008 - 12:36 PM) *

Umm that is a nice observation and I am downloading freeBSD. But how do I format a drive?

The equivalent of the format command in Linux is mkfs which is short for Make File System. The tricky part is, you'll have to decide which file system you want to make first, & then use the appropriate mkfs command. With windows, the format command is obviously limited to the fat, fat32, & NTFS. So it may seem tricky, for Linux, but in fact you just have a much, much wider range of options. It is as simple, or as complex as you want it to be.
User is online!Profile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 10/13/08 01:58AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month