LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-08-2010, 08:24 PM   #1
CamdogXIII
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!

-cam
 
Old 02-09-2010, 01:22 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,412

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
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, 08:28 PM   #3
CamdogXIII
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.

-Cam

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


Reply


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 05:13 PM
Ubuntu Server Edition MungoSteve Linux - Newbie 5 02-27-2009 05:18 AM
Ubuntu Server / SAMBA questions wolverinegod Linux - Newbie 12 08-21-2008 07:05 AM
Setup DNS server on Ubuntu 7.04 Server edition using Bind 9 breezey Linux - Server 2 09-16-2007 04:36 AM
Ubuntu Server Edition Geminias Linux - Newbie 3 08-29-2006 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:28 AM.

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