08-06-2009
Partitioning External Drive
I am about to set up another triple boot drive, but this one is connected to my MacBook with a USB adapter. I want to be sure that I do not overwrite data on my laptop's internal drive. This is the command I used for the internal drive, which was found in an Ubuntu forum, but the sizes were changed to match my drive.
diskutil resizeVolume disk0s2 45G "JHFS+" 4-Linux 20G "MS-DOS FAT32" 4-Windows 0b
If memory serves, there may have been a typo on the last character. I thought it was supposed to be a 'G', but I am very new to this.
I assume that the disk0s2 needs to be changed, but I do not know how to tell what the external drive is called. I have looked in Disk Utility and the System Profiler, but there seems to be nothing there. UNIX must be the answer.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies
2. UNIX for Dummies Questions & Answers
Someone gave me a small external SCSI hard drive for my SunOS 5.8 test system. How do I make Unix see the hard drive? (2 Replies)
Discussion started by: FredSmith
2 Replies
3. Ubuntu
there is probably another post about this, i just can't find it on unix.com or google. basically, i am trying to make a boot floppy via CLI/terminal. the problem is that i use an external drive. when i do the first couple of steps, i get rejected. when i do the mounting and unmounting, all the... (4 Replies)
Discussion started by: Texasone
4 Replies
4. AIX
Hi folks,
I've got a little problem concerning my external dds4 tape drive.
I've got 2 rs6000 systems, one has a external dds4 tape drive attached, I want to attach the tape drive to the other rs6000 system so that i can restore data from the 1st rs6000 on to the second.
Does anybody has... (3 Replies)
Discussion started by: Erik Rooijmans
3 Replies
5. Debian
Trying to mount an external 160GB Toshiba drive but....
this is my dmesg tail output:
usb 2-2: new high speed USB device using ehci_hcd and address 3
usb 2-2: New USB device found, idVendor=13fd, idProduct=1618
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-2:... (4 Replies)
Discussion started by: Ridson
4 Replies
6. OS X (Apple)
Hi all,
I would really appreciate some assistance with some lost data on external drive. The external is a Seagate Goflex 3TB drive, Desktop hard drive | External Desktop hard drives | FreeAgent | GoFlex Desk | Seagate
The purpose of the drive is to do time machine backups to it from my mac.... (7 Replies)
Discussion started by: brianjb
7 Replies
7. Red Hat
Hi Guys
I am using RHEL5 O/S.
We have mounted the usb external hard drive to the server as root.
I want the user oracle to be able to write into this external hard drive.
How do i do that ?
Please Help!!! (1 Reply)
Discussion started by: Phuti
1 Replies
8. UNIX for Advanced & Expert Users
I have connected an external hard drive. I can't find it.
Both ls /media, fdisk -l and ls /dev show nothing.
TIA (3 Replies)
Discussion started by: Meow613
3 Replies
9. UNIX for Beginners Questions & Answers
Hello,
I'm running Windows 10, but I wish to install UNIX on an external drive and not my internal drive.
Also, I'm not quite sure what UNIX to install?
I also want to install the GNAT compiler so that I can also practice Ada programming.
I will appreciate all help,
CMN (2 Replies)
Discussion started by: CMN
2 Replies
10. Solaris
Hello all,
I'm new member and it's a very important for me.
I need to backup data's from 3 server ( V880, M5000m and V490)
I dont have a chance to use NFS. So i need to backup to Usb External Drive, can you help me with this issue?
I dont have any experience about backup, but i need to... (1 Reply)
Discussion started by: sahkel
1 Replies
HD(4) Linux Programmer's Manual HD(4)
NAME
hd - MFM/IDE hard disk devices
DESCRIPTION
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major
device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave
hdd.
General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the
partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order
the partitions are discovered, and only nonempty, nonextended partitions get a number. However, partition numbers 1-4 are given to the
four partitions described in the MBR (the "primary" partitions), regardless of whether they are unused or extended. Thus, the first logi-
cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions
on an IDE disk.
For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS "primary" partition on the
second one.
They are typically created by:
mknod -m 660 /dev/hda b 3 0
mknod -m 660 /dev/hda1 b 3 1
mknod -m 660 /dev/hda2 b 3 2
...
mknod -m 660 /dev/hda8 b 3 8
mknod -m 660 /dev/hdb b 3 64
mknod -m 660 /dev/hdb1 b 3 65
mknod -m 660 /dev/hdb2 b 3 66
...
mknod -m 660 /dev/hdb8 b 3 72
chown root:disk /dev/hd*
FILES
/dev/hd*
SEE ALSO
chown(1), mknod(1), sd(4), mount(8)
COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 1992-12-17 HD(4)