Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 02-08-2010, 07:24 PM   #1
LQ Newbie
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Ubuntu 9.10 server edition and Samba Questions

hello all, this is my first post here, and i stumbled upon this site from google

I recently built a basic server computer for home use. (this will be for media, documents, music, etc) I have a basic amd mobo, cpu, and dvd drive. I have Ubuntu server 9.10 installed on an 8GB SD card that is attached to a usb dongle. The os loaded just fine And as a storage drive i have a seagate 1TB hard drive.

Then i got to creating shares in samba. I got to editing the smb.conf file and i couldn't figure out how to setup the shares (where exactly the 1tb Hard drive is, how to create directories and what not) Then i realized i needed to format the HDD! but when i go to run fdisk to finally do it, it tells me that it is "unable to open /dev/sda/"

now i don't know a whole lot about linux as you can tell, but that is the whole reason i set this thing up is for a big learning experience in both linux and network setup.

to sum up, how do i format the 1TB HDD, and how would i set up samba so i could administrate it from my other computer (SWAT is what i've read about)

big thanks in advance!

Old 02-09-2010, 12:22 AM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,365

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
What does

fdisk -l

(lowercase L) say? NB: you have to be root to run it; in the case of Ubuntu, prefix with sudo:

sudo fdisk -l
Old 02-09-2010, 07:28 PM   #3
LQ Newbie
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
well i poked around google some more and formatted the drive with "cfdisk" with filesystem type 82, which it says "linux" but i don't know if it's ext2,3,4, or w/e. but apparently it wiped the bootloader that was installed on the drive or something, because now the system won't boot.

It stays at a black screen with a blinking cursor.( no login prompt though)

so i'm going to reinstall and format the HDD from the installer.

i'll post back if i have any problems setting up shares or whatnot.


Last edited by CamdogXIII; 02-09-2010 at 07:33 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which edition (desktop edition or Server edition) best for Oracle RAC on vm thmsvng Linux - Virtualization and Cloud 2 11-26-2009 04:13 PM
Ubuntu Server Edition MungoSteve Linux - Newbie 5 02-27-2009 04:18 AM
Ubuntu Server / SAMBA questions wolverinegod Linux - Newbie 12 08-21-2008 06:05 AM
Setup DNS server on Ubuntu 7.04 Server edition using Bind 9 breezey Linux - Server 2 09-16-2007 03:36 AM
Ubuntu Server Edition Geminias Linux - Newbie 3 08-29-2006 06:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration