1: check on linux system
fdisk -l
/dev/sda1
/dev/sda2
/dev/sdb1
/dev/sdb2
/dev/sdc
2: connect external hardisk : if not auto mounting
fdisk -l
/dev/sda1
/dev/sda2
/dev/sdb1
/dev/sdb2
/dev/sdc
/dev/sdd ------- new external hdd
3: fdisk /dev/sdd
press p to see all partition in external hdd
if you want to create new partition delete old one with d option
create new one with n option
select p for primary / e for extended
select default values
at last press w and it will exit
4: fdisk -l
/dev/sda1
/dev/sda2
/dev/sdb1
/dev/sdb2
/dev/sdc
/dev/sdd1:------if extended selected othewise only sdd1 will reflect
/dev/sdd3 :------------if extended selected othewise only sdd1 will reflect
partprobe /dev/sdd1
partprobe /dev/sdd3
mkfs.ext3 /dev/sdd1 :---------if extended selected othewise only sdd1 will reflect
mkfs.ext3 /dev/sdd3 :-- ------if extended selected othewise only sdd1 will reflect
5: disconnect the hard disk and reconnect it.. it will automatically mounted....
if not then...
fdisk -l
/dev/sda1
/dev/sda2
/dev/sdb1
/dev/sdb2
/dev/sdc
/dev/sdd1:------if extended selected othewise only sdd1 will reflect
/dev/sdd3 :------------if extended selected othewise only sdd1 will reflect
mkdir /root/Desktop/usb
mount /dev/sdd1 /root/Desktop/usb
(now your external hdd is mounted in /root/Desktop/usb i.e on desktop)
you can backup your data here
NOTE:----before disconnecting external harddisk dont forget
umount /root/Desktop/usb
for any problem regarding mounting
yudhister chawla
(system officer)
Distt. &session court
merta city(nagaur)
mo:-9001090402
No comments:
Post a Comment