Can I copy my Linux partition from Desktop HDD to mobile HDD via USB?

Can I copy my Linux partition from Desktop HDD to mobile HDD via USB?

Post by Carfield Yi » Thu, 06 Sep 2001 15:43:19



Can I copy my Linux partition from Desktop HDD to mobile HDD via USB?
I would like to setup my mobile computer using linux. And the most
fastest way I can think is copy every main partition to a mobile HDD
with dd. So I would like to ask can linux mount mobile HDD with the USB
portable mounter avaliable on market?
 
 
 

Can I copy my Linux partition from Desktop HDD to mobile HDD via USB?

Post by Michael Lee Yoh » Fri, 07 Sep 2001 12:10:37


Quote:> Can I copy my Linux partition from Desktop HDD to mobile HDD via USB?
> I would like to setup my mobile computer using linux. And the most
> fastest way I can think is copy every main partition to a mobile HDD
> with dd. So I would like to ask can linux mount mobile HDD with the
> USB portable mounter avaliable on market?

Linux can treat your USB drive as an emulated SCSI drive.  You will need
CONFIG_USB, CONFIG_USB_DEVICEFS, CONFIG_USB_STORAGE (for your hard
drive), CONFIG_BLK_DEV_IDESCSI (the SCSI emulation driver).  The CONFIG
stuff is parameters that should be set to "Y" in your kernel
configuration file.

Once your USB drive is properly configured, it will appear as /dev/sd?
(where ? = a-z) - you can then partition/format/mount as normal.

--


Software Developer, Engineering Services
Red Hat, Inc.

QUIPd 0.12:
-> I've read about foreign policy and studied, I now know the number
-> of continents.
-> - George Wallace

 
 
 

Can I copy my Linux partition from Desktop HDD to mobile HDD via USB?

Post by Carfield Yi » Sat, 08 Sep 2001 20:31:04



>> Can I copy my Linux partition from Desktop HDD to mobile HDD via USB?
>> I would like to setup my mobile computer using linux. And the most
>> fastest way I can think is copy every main partition to a mobile HDD
>> with dd. So I would like to ask can linux mount mobile HDD with the
>> USB portable mounter avaliable on market?

> Linux can treat your USB drive as an emulated SCSI drive. You will
> need CONFIG_USB, CONFIG_USB_DEVICEFS, CONFIG_USB_STORAGE (for your
> hard drive), CONFIG_BLK_DEV_IDESCSI (the SCSI emulation driver). The
> CONFIG stuff is parameters that should be set to "Y" in your kernel
> configuration file.

> Once your USB drive is properly configured, it will appear as /dev/sd?
> (where ? = a-z) - you can then partition/format/mount as normal.

Sorry for interrupt, I can't find the option of CONFIG_BLK_DEV_IDESCSI
in my kernel configure file. Is it only avaliable for kernel 2.4.9? I am
using kernel 2.4.8...
 
 
 

Can I copy my Linux partition from Desktop HDD to mobile HDD via USB?

Post by Michael Lee Yoh » Sun, 09 Sep 2001 05:47:35


Quote:>>Linux can treat your USB drive as an emulated SCSI drive. You will
>>need CONFIG_USB, CONFIG_USB_DEVICEFS, CONFIG_USB_STORAGE (for your
>>hard drive), CONFIG_BLK_DEV_IDESCSI (the SCSI emulation driver). The
>>CONFIG stuff is parameters that should be set to "Y" in your kernel
>>configuration file.

>>Once your USB drive is properly configured, it will appear as /dev/sd?
>>(where ? = a-z) - you can then partition/format/mount as normal.

> Sorry for interrupt, I can't find the option of CONFIG_BLK_DEV_IDESCSI
> in my kernel configure file. Is it only avaliable for kernel 2.4.9? I
> am using kernel 2.4.8...

That's strange... I did pull that from the 2.4.9 source.  But I just
checked with Red Hat 7.1 stock kernel source (2.4.2-2) and I see the
same configuration option.

--


Software Developer, Engineering Services
Red Hat, Inc.

QUIPd 0.12:
-> Intelligence has nothing to do with politics.
-> - Londo Molari

 
 
 

Can I copy my Linux partition from Desktop HDD to mobile HDD via USB?

Post by Carfield Yi » Mon, 10 Sep 2001 20:10:32



>>>Linux can treat your USB drive as an emulated SCSI drive. You will
>>>need CONFIG_USB, CONFIG_USB_DEVICEFS, CONFIG_USB_STORAGE (for your
>>>hard drive), CONFIG_BLK_DEV_IDESCSI (the SCSI emulation driver). The
>>>CONFIG stuff is parameters that should be set to "Y" in your kernel
>>>configuration file.

>>>Once your USB drive is properly configured, it will appear as /dev/sd?
>>>(where ? = a-z) - you can then partition/format/mount as normal.

>>Sorry for interrupt, I can't find the option of CONFIG_BLK_DEV_IDESCSI
>>in my kernel configure file. Is it only avaliable for kernel 2.4.9? I
>>am using kernel 2.4.8...

>That's strange... I did pull that from the 2.4.9 source.  But I just
>checked with Red Hat 7.1 stock kernel source (2.4.2-2) and I see the
>same configuration option.

Hi, I have re-compile the kernel with IDE support, but I still can't
access my USB drive. Here is the avaliable kernel modules:


Module Size Used by
usb-storage 22368 0 (unused)
usb-uhci 21408 0 (unused)
usbcore 49056 0 [usb-storage usb-uhci]
ide-probe-mod 8000 0
ide-disk 6864 0
ide-scsi 7680 0
ide-mod 67152 0 [ide-probe-mod ide-disk ide-scsi]
ipchains 42000 0 (unused)
ppp_synctty 4816 0 (unused)
ppp_async 6448 1
ppp_generic 14624 3 [ppp_synctty ppp_async]
slhc 4544 0 [ppp_generic]

and here is the log message:

Sep 9 03:29:06 desktop kernel: usb-uhci.c: Detected 2 ports
Sep 9 03:29:06 desktop kernel: usb.c: new USB bus registered, assigned
bus number 1
Sep 9 03:29:06 desktop kernel: hub.c: USB hub found
Sep 9 03:29:06 desktop kernel: hub.c: 2 ports detected
Sep 9 03:29:06 desktop kernel: usb-uhci.c: v1.251:USB Universal Host
Controller Interface driver
Sep 9 03:29:06 desktop kernel: Initializing USB Mass Storage driver...
Sep 9 03:29:06 desktop kernel: usb.c: registered new driver usb-storage
Sep 9 03:29:06 desktop kernel: USB Mass Storage support registered.
Sep 9 03:29:06 desktop kernel: hub.c: USB new device connect on bus1/1,
assigned device number 2
Sep 9 03:29:06 desktop kernel: usb.c: USB device 2 (vend/prod
0x4ce/0x2) is not claimed by any active driver.

Would you please kindly tell me anything I am missing? Seen to me that I
get everything...

 
 
 

1. USB-ehci_hcd hangs after copying >100MB from USB HDD

Hi,

I have an external 120 GB USB-IDE-Disk connected to my USB 2.0 host
controller.
Used Linux version ist Mandrake 10 (kernel 2.6.3) on x86 Athlon and
Epox onboard USB.
The drive is detected, I partitioned it and formatted the partitions.
While copying small files, the drive is quite fast (~ 10 MB/s). If I
copy more than 100 MB on the disk, the whole system hangs until I
unload ehci-hcd.

The same configuration works under win2k without problems...
It also works with USB 1.1 (OHCI).
Kernel 2.4.22 (Mandrake 9) resulted in the same problem as soon as the
EHCI-driver has been used.

Does anyone know what the problem is and how it can be solved?

Thanks,
  Jochen

2. Domain address switches to IP address in browser

3. New HDD copy; using "Drive Copy" program (W98) to dupe Linux

4. /etc/issue reset?

5. Gzip error when extracting Kernel 2.4.1

6. forgot root password

7. Replacing old HDD with new bigger HDD, Please help me!

8. hdd-kernel-parameters & hdd-geometry

9. Booting from HDD into ramdisk, then unmount HDD?

10. Copy Linux HDD

11. How to copy existing linux installation to another hdd?