Re: External Hard Disk in Debian



On Wed, Mar 07, 2007 at 10:03:17PM +0530, Masatran, R. Deepak wrote:
I just bought an 80GB, USB, SATA, portable, external, hard disk, and I have
some doubts:

Based on your questions, I suspect you are trying to do more than just
use a hard-disk attached via usb. What is your goal here? We might be
able to help better if we knopw what the ultimate goal is.



0. Is there a Howto addressing Linux on external hard disks?


try google.

1. How to shut down? Simply unplugging the USB cable, after unmounting, is
wrong, is it not?

shut down what? the disk? the system? if you have mounted an USB disk,
then yes, umount it and when that's done you may unplug it.


2. When I lock the screen, I want to remove the hard disk. Is this possible?

um. sure? umount it and unplug it, then lock the screen? maybe you
could use an automount configuration so that you know it will be
umounted within X amount of time so that you could unplug it.


3. I have heard about hibernation. After hibernation: (A) Can I remove the
hard disk? (B) Can I un-hibernate on another computer?

see? this is why I think you are asking for something that you aren't
quite getting to. You want to run your system on this disk, not just
use it? I don't think you can do this hibernate/un-hibernate thing
unless you are dealing with identical hardware.


4. I want to get the drive details: manufacturer, model, etc. I there a
program which takes the device file as input, and outputs the device
characteristics?


smartctl and i think hdparm can give you all sorts of info on your
drive. I don't know how well they work over USB.


5. About encrypted partitions, and LVM: Are they readable, and writable from
Microsoft Windows?

I'd say no.


6. How to copy a NTFS partition to the hard disk? I checked Parted, and
NTFS-3G but they doesn't appear to support this.

use windows.or use dd for identically sized partitions. writing ntfs
partitions is still fairly new and I'd not trust it with really
critical data.


7. About partitioning: Does Microsoft Windows require the first primary
partition, to be bootable?

nope. you can fool it in both grub and lilo by remapping the
partitions. okay, maybe that only works with different disks, not
different partitions on one disk, but its worth a shot.



8. Any other information: Pitfalls, advice, comments, etc.?


yes. tell us what you're trying to do so we can help you figure out
how to do it. You are asking how to do all this little things without
telling us what you really want. I suspect you should have asked
something like

"Hi List, I am trying to set up a dual boot system on an external
hard-drive. I would like to run windows xp and debian...."

A

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • LVM on SW RAID for sarge - success
    ... I've just had success migrating Debian Sarge to root on LVM on RAID. ... First make sure the SCSI BIOS boots from the first disk. ... I made reiserfs on all the filesystem partitions and completed the ... The remaining two disks were partitioned and used to create RAID arrays ...
    (Debian-User)
  • Re: Replace SCSI Drive
    ... from there you can manipulate other hard drives attached to the machine. ... It should 'just work' but watch out that you keep disk devices ... vi-a) Write a BSD partition table into the slice, then set up your required FreeBSD partitions: ... items under the 'Custom Install' to achieve the desired result. ...
    (freebsd-questions)
  • Re: RAMDisk and HardDisk strikes back!
    ... One disk with only one partition as large as FBA setup; ... Two disk with one or more partitions for each. ... @ 20:32:55.252 #W059 Selecting best compatible driver failed. ... @ 20:53:51.166 #T211 Install Device: Changing registry settings as specified ...
    (microsoft.public.windowsxp.embedded)
  • Re: backups & cloning
    ... dump unmounted file systems to the system's tape drive. ... The restore program, on the other side of the | pipe, does ... Here's an example (ad1 is source disk, ... Use dump only on unmounted partitions. ...
    (freebsd-questions)
  • Re: Boot from USB PRM (Partitioned Removable Media ) failed after loading OS2LVM.DMD error: "OS/2 is
    ... I can make jfs bootable volume on usb drive and copy working ... installation form hard disk to usb disk. ... logo and "unable opereate your hard disk drive" ... eCS's installer can't install system on USB drive - it even doesn't show any usb drives with "show all volumes and partitions" option May be this is result of OEMHLP_QUERYDISKINFO bug ...
    (comp.os.os2.bugs)