Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Non Windows > Linux & Open source community

Reply
 
Thread Tools
  #1  
Old 30th December 2009
elvaz's Avatar
elvaz elvaz is offline
Newbie
 
Join Date: Dec 2009
Location: Djakarta
Posts: 7
Rep Power: 0
elvaz mempunyai hidup yang Normal
Default Format dan Mounting Hardisk Baru di Linux


Ckckckckckckck.....
Abis Instalasi hardisk baru nii broo..........
ckckckc..........
kaga nyangka bakal installasi hardisk baru, gara2 hari ini komputernya udah keabisan space kosong ckckckckck
ok ...
let's see....(kebetulan pake UBUNTU 8.10 )

nah ini nii liat aja ya
command line mode : ON

$ df -H (buat liat space kosong hardisk saat ini broo...)
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 19G 16.8G 2.2G 89% /
tmpfs 127M 0 127M 0% /lib/init/rw
varrun 127M 103k 127M 1% /var/run
varlock 127M 0 127M 0% /var/lock
udev 127M 2.8M 124M 3% /dev
tmpfs 127M 0 127M 0% /dev/shm
lrm 127M 2.1M 125M 2% /lib/modules/2.6.27-7-generic/volatile

$ su - root (jadi root dulu nii oh ya...kebetulan harddisknya udah dipasang jadi ga butuh ada mode matiin computer dulu niiii hehehehehe..... gw pake hardisk maxtor IDE 160gb)
password:******(biasa isi password root dulu)

# fdisk -l (buat liat hardisk gw udah masuk ato blom)
Disk /dev/sda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x473432c2

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2327 18691596 83 Linux
/dev/sda2 2328 2434 859477+ 5 Extended
/dev/sda5 2328 2434 859446 82 Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table
(wah dah kebaca nii disk tapi gara 2 masih baru jadi kaya gini ya.....)

# fdisk /dev/sdb (ini buat create new patition di hardisk kita nii....)
The number of cylinders for this disk is set to 2434.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): m (ketik m aja buat help)
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)

Command (m for help): n
( n untuk new partition ok! terus enter 2 kali ok..... selesai ada disk baru.........)

# fdisk -l
Disk /dev/sda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x473432c2

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2327 18691596 83 Linux
/dev/sda2 2328 2434 859477+ 5 Extended
/dev/sda5 2328 2434 859446 82 Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 19452 18691596 83 Linux
(udah kebaca niii hehehehehe ...... lanjut broo)

# mkfs.ext3 /dev/sdb1 (format hardisk sampe selesai dengan type ext3(bukan NTFS windows ya)

# mkdir /mnt/disk-2 (buat folder buat mount disk baru hihiihihihi senangnya )

# mount -t ext3 /dev/sdb1 /mnt/disk-2 (mount disk baru supaya bisa dipake dunk.... hehehehe)

# df -H (periksa lagi brooo.....)
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 19G 16.8G 2.2G 89% /
tmpfs 127M 0 127M 0% /lib/init/rw
varrun 127M 103k 127M 1% /var/run
varlock 127M 0 127M 0% /var/lock
udev 127M 2.8M 124M 3% /dev
tmpfs 127M 0 127M 0% /dev/shm
lrm 127M 2.1M 125M 2% /lib/modules/2.6.27-7-generic/volatile
/dev/sdb1 160G 0 160G 100% /mnt/disk-2 (udah masuk broo....)

# vi /etc/fstab (buat permanenin si disk supaya kaga usah ngemount bolak-balik pas selesai restart)

# /etc/fstab: static file system information.
proc /proc proc defaults 0 0
/dev/sda1 / ext3 relatime,errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
(tambahin dimari boss)
/dev/sdb1 /mnt/disk-2 ext3 defaults 1 3
(terus tekan ESC dan ketik :wq! untuk simpan ok.....selesai bozzz.......)


Alhamdulillah Selesai juga akhirnya......

Reply With Quote
  #2  
Old 30th December 2009
elvaz's Avatar
elvaz elvaz is offline
Newbie
 
Join Date: Dec 2009
Location: Djakarta
Posts: 7
Rep Power: 0
elvaz mempunyai hidup yang Normal
Default

Silakan yang Mo bahas ttg linux !!
Reply With Quote
  #3  
Old 31st December 2009
ADMINISTRATOR ADMINISTRATOR is offline
Newbie
 
Join Date: Dec 2009
Posts: 14
Rep Power: 0
ADMINISTRATOR mempunyai hidup yang Normal
Default

Ijin Copy Paste artikelnya ya Bos..
Reply With Quote
  #4  
Old 15th February 2010
papaBear papaBear is offline
Ceriwis Addicted
 
Join Date: Dec 2009
Location: solo-jkt pp
Posts: 4,511
Rep Power: 24
papaBear mempunyai banyak pengalamanpapaBear mempunyai banyak pengalamanpapaBear mempunyai banyak pengalamanpapaBear mempunyai banyak pengalamanpapaBear mempunyai banyak pengalamanpapaBear mempunyai banyak pengalaman
Default

--- ijin memantau ndan
--- ane tertarik ama ubuntu, katanya cucok buat pemula linux nehh :araara:
--- dulu liat liputannya di salah satu TV swasta nasional tentang ubuntu
--- mana nehh linuxer yg lain ???
Reply With Quote
  #5  
Old 30th May 2010
100's Avatar
100 100 is offline
Newbie
 
Join Date: May 2010
Posts: 10
Rep Power: 0
100 mempunyai hidup yang Normal
Default

kenapa gak pake gparted aja nih ?
Reply With Quote
  #6  
Old 3rd June 2010
masmas's Avatar
masmas masmas is offline
Newbie
 
Join Date: Jun 2010
Location: hollywood indonesia
Posts: 3
Rep Power: 0
masmas mempunyai hidup yang Normal
Default

Quote:
Originally Posted by papaBear View Post
--- ijin memantau ndan
--- ane tertarik ama ubuntu, katanya cucok buat pemula linux nehh :araara:
--- dulu liat liputannya di salah satu TV swasta nasional tentang ubuntu
--- mana nehh linuxer yg lain ???
iya nih maih sepi banget gan
Reply With Quote
  #7  
Old 15th August 2010
aerozeppelin's Avatar
aerozeppelin aerozeppelin is offline
Newbie
 
Join Date: Aug 2010
Location: cthulhu
Posts: 27
Rep Power: 0
aerozeppelin mempunyai hidup yang Normal
Default

ijin mantau dl ya, ane br belajar nh pk LinuxMint
Reply With Quote
  #8  
Old 25th August 2010
heijung's Avatar
heijung heijung is offline
Newbie
 
Join Date: Apr 2010
Location: -----
Posts: 40
Rep Power: 0
heijung mempunyai hidup yang Normal
Default

ini langkah kalo mau format hdd baru ya ndan?
hdd yang bener2 kosong..?
Reply With Quote
  #9  
Old 2nd September 2010
boyresh's Avatar
boyresh boyresh is offline
Newbie
 
Join Date: Aug 2010
Location: ------------------- Posts: 908.807.706
Posts: 28
Rep Power: 0
boyresh mempunyai hidup yang Normal
Default

thanks bro..
ane baru mulai pake ubuntu 10.04 nih..
keep posting ya..
ane mau belajar...
Reply With Quote
  #10  
Old 20th December 2010
arga7's Avatar
arga7 arga7 is offline
Ceriwiser
 
Join Date: Oct 2010
Location: barcen = on (VM
Posts: 891
Rep Power: 26
arga7 is very very important personarga7 is very very important personarga7 is very very important personarga7 is very very important personarga7 is very very important personarga7 is very very important personarga7 is very very important personarga7 is very very important personarga7 is very very important personarga7 is very very important personarga7 is very very important person
Default

waduh rumit jg ya...
Reply With Quote
Reply


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 On
HTML code is Off


 


All times are GMT +7. The time now is 12:19 PM.


no new posts