Re: How to set up the portable hard drive
>
> Could you give us the output of
>
> # fdisk -l /dev/sda
# fdisk -l /dev/sda
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x2dae8ac4
Device Boot Start End Blocks Id System
/dev/sda1 1 409639 204819+ ee GPT
Partition 1 does not start on physical sector boundary.
/dev/sda2 409640 156659639 78125000 af HFS / HFS+
/dev/sda3 156659640 156661727 1044 c0 Unknown
/dev/sda4 * 156661728 157110946 224609+ 83 Linux
> What do you want to use this drive for? How large is it? Do you need to use it
> from other operating systems as well? If so: which?
Only for backup.
1TB
Sometimes I guess I may use it in another OS to swatch things, but to
avoid trouble, here I will only focus on debian.
>
> If you want to use this drive only from Debian and the fdisk command above
> just lists a single partition I would recommend to create an ext3 or ext4
> filesystem on it:
# mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro,commit=0)
tmpfs on /lib/init/rw type tmpfs
(rw,nosuid,size=5242880,mode=755,size=5242880,mode=755)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=755,size=10%,mode=755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /run/shm type tmpfs
(rw,nosuid,nodev,size=20%,mode=1777,size=20%,mode=1777)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620,gid=5,mode=620)
/dev/sda14 on /backup type ext4 (rw,commit=0)
/dev/sda4 on /boot type ext4 (rw,commit=0)
/dev/sda7 on /home type ext4 (rw,commit=0)
/dev/sda13 on /scratch type ext4 (rw,commit=0)
/dev/sda8 on /tmp type ext4 (rw,commit=0)
/dev/sda9 on /usr type ext4 (rw,commit=0)
/dev/sda10 on /usr/local type ext4 (rw,commit=0)
/dev/sda11 on /var type ext4 (rw,commit=0)
/dev/sda12 on /var/local type ext4 (rw,commit=0)
/dev/sdb1 on /media/FreeAgent GoFlex Drive type ntfs
(rw,nosuid,nodev,uid=1000,gid=1000,dmask=0077,fmask=0177,uhelper=udisks)
Can I continue with your following mkfs ext4 -L NAME /dev/sdb1?
I am not experienced, so asked lots here, thanks for the patience.
>
> # mkfs.ext3 -L NAME_OF_YOUR_CHOICE /dev/sdb1
> or
> # mkfs.ext4 -L NAME_OF_YOUR_CHOICE /dev/sdb1
>
> You might have to change the permission of the filesystem if you want to be
> able to write as your normal user:
>
> # mkdir /media/blargelbars
> # mount /dev/sdb1 /media/blargelbars
> # chown YOURUSER:plugdev /media/blargelbars
> # chmod 770 /media/blargelbars
> # umount /media/blargelbars
> # rmdir /media/blargelbars
>
> For this to work your user should be a member of the plugdev group, which you
> can check by running "groups" as your user. If it is not run "adduser YOURUSER
> plugdev" and log out/in. You could also change the chmod command to "chmod
> YOURUSER:YOURUSER /media/blargelbars" or "chmod root:plugdev
> /media/blargelbars".
>
> If for some reason you already have a directory /media/blargelbars please let
> me know as I will invite you for a beer/wine/tea/nous nous/... and notice that
> you would have to use another name.
I don't understand this part.
> --
> Wolodja <babilen@gmail.com>
>
> 4096R/CAF14EFC
> 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC
>
--
Best Regards,
lina
Reply to: