Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Mount hd with debian

Mount hd with debian 10 years 11 months ago #12461

  • Lindows
  • Lindows's Avatar
  • Offline
  • Senior Member
  • Posts: 246
  • Karma: 0
i have some files i want to back up onto cd, but for some reason, my debian OS doesn't see the partions i have on my machine. i have one harddrive, partitioned into three. How do i get the distro to see the other partitions.

Lindows
The administrator has disabled public write access.

Re: Mount hd with debian 10 years 11 months ago #12465

  • nske
  • nske's Avatar
  • Offline
  • Expert Member
  • Posts: 613
  • Karma: 0
There are three things you need to know before you mount a partition:

a) The hard disk place, this is as follows:
IDE
Primary controller, Master position: HDA
Primary controller, Slave position: HDB
Senondary controller, Master position: HDC
Secondary Contrller, Slave position: HDD
[...]

SCSI and SATA
First controller, first position: SDA
First controller, second position: SDB
[..]

b) The partition position, this is attached next to the hard drive and is as follows:
Primary partitions:
First: 1, Second: 2, Third: 3, Fourth: 4

Logical partitions:
First: 5, Second 6, Third 7, [...]

I.e. the first logical partition of an IDE hard disk as a primary master would be "hda5".

You can check the partitions of a hard drive and their position via the fdisk or cfdisk commands.

c) The partition type. A list of all partition types is included in the man page of mount ("man mount"). In many cases it is not necessary to define the partition type, but not always. You can define it with the "-t" switch of mount, i.e. to mount a NTFS filesystem that lays on the first logical partition of an IDE hard disk as a primary master, you could type:

"mount -t ntfs /dev/hda5 /mnt/tmp"
The administrator has disabled public write access.

I got in... 10 years 10 months ago #12630

  • Lindows
  • Lindows's Avatar
  • Offline
  • Senior Member
  • Posts: 246
  • Karma: 0
Thanks for the quick help. It really help me out alot.

Lindows...
The administrator has disabled public write access.
Time to create page: 0.075 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup