Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to copy my system hdd usb stick from 4GB to 8GB ? Post 302302879 by jack2 on Wednesday 1st of April 2009 08:55:55 AM
Old 04-01-2009
Quote:
Originally Posted by pludi
Just to get the background right: why would an embedded device need additional software? And user-interactive on top of that? Those devices are usually intended for the cycle of "power on -> setup -> ignore -> scrap", with at little user interaction as possible. If you want a "full" Linux on there, take a look at DD-WRT and it's cousins.

Anyhow, given what you told me, there's nothing essential to the boot process on that stick, so it's a simple partiton, format, cp -a.

As for the flash memory, I remembered wrong by an order of magnitude, it's 100 000 write cycles (linky). I just wanted to warn you since a friend of mine thought it a great idea to keep his swap partition on a flash drive. It didn't even survive first boot.
My dear friend,

I exactly have "full" Linux, cousin of DD-WRT installed.
So stick is made of 3 partitions, already mentioned by me.
For swap partition there is no need to copy anything, just create swap partition and set swap on.

For /opt partition (system files, applications, full Linux) I need to
mirror or clone it on another stick.
Please tell me if copy can preserve symbolic links, already created on
part2, part3 (for data) ?

I run 2 router-servers with full Linux and swap partition is on a stick
and one has been in operation for the last 4 months as 10-man small network router/server and another one is for tests.
I have one another spare router, exactly to replace that one serving small network, in case of problems.

So I need to have it maintained as a mirror copy.
I can transfer firmware, configuration file from router's internal flash nvram memory, as they come as open source Linux.
The issue is usb stick
partitioned to 1, 2, 3

I will try with copy today and will report you my success or failure.

Ok. I was told about problems with a swap partition on usb stick
but this solution was advised to me by project developers and it worked for me.

Asus Eee netbooks come with Linux and SSD memory only,
and I would like to know in what SSD memory so special for swap partition,
as come sticks come already marketed as SSD stick.

In either case I need to learn how to mirror such stick, partitioned to part1, part2, part3.

thanks

Jack
 

8 More Discussions You Might Find Interesting

1. SCO

Copy files to a USB stick SCO 5.07?

SCO 5.07: How do I copy files to a USB memory stick? The stick is formatted as a hd and has an active Unix partition using the hole stick for Unix. How do I get acces to the stick? (1 Reply)
Discussion started by: pschnell
1 Replies

2. UNIX for Dummies Questions & Answers

Aix usb stick

I have a P-Series Machine running AIX 5.3, it has a USB Port on the front of the server, can I use a USB Stick on AIX platforms?? if so how..:rolleyes: (2 Replies)
Discussion started by: BEVAN
2 Replies

3. SCO

How do I copy files into USB memory stick

SCO Unix ver 5.07 How do I copy files onto an USB memory stick? Is SCO Unix ver 5.07 able to handle USB memory devices? (2 Replies)
Discussion started by: Schnell
2 Replies

4. Filesystems, Disks and Memory

Mount USB stick...

Dummies questions, perfect for this. I cannot mount my idiotic usb stick on Slackware, I input the following on non-graphic mode as root: Mount -t vfat /dev/sdc1/usbstick usbstick is the folder i created for mounting my USB, the file system is FAT, and everytime I input that I get some kind... (2 Replies)
Discussion started by: Dax01
2 Replies

5. BSD

Mounting a USB stick in FreeBSD

When mounting a USB stick or pen drive on a FreeBSD machine I always issue the following command: mount -t msdosfs /dev/da0s1 /mnt Something I have always wondered is what the option msdosfs stands for and more importantly, why it is necessary. (7 Replies)
Discussion started by: figaro
7 Replies

6. Ubuntu

Ubuntu on USB stick?

Hey Guys I have an Ubuntu CD and I was thinking of creating like a bootable hard drive with various OS so that I can just boot OSs with t drive and not require the CDs. I was just wondering is there a way I can do this, like have Ubuntu boot from a USB stick? If yes how is that possible(even if I... (3 Replies)
Discussion started by: rbansal2
3 Replies

7. SCO

Mount USB stick

hi Howto mount an USB stick under SCO 5.0.7? BTW ist it possible to mount USB stick in the command line using 'tools' at the Boot: prompt from OpenServer Release 5.0.7 installation CD? (1 Reply)
Discussion started by: ccc
1 Replies

8. SCO

How to use USB Stick in UNIXware?

I am trying to use a USB (Pen?) drive on Unixware 7.1.4. The USB stick is in the machine and the machine recognises it when I enter usbprobe as follows: Path - Address Description ----------------------------- +++++++ BUS #2 0 - 1 - HUB "UHCI Root Hub" 1 - 2 - HID "Chicony Wireless Device"... (1 Reply)
Discussion started by: BernP
1 Replies
lsusb(8)							Linux USB Utilities							  lsusb(8)

NAME
lsusb - list all USB devices SYNOPSIS
lsusb [options] DESCRIPTION
lsusb is a utility for displaying information about all USB buses in the system and all devices connected to them. To make use of all the features of this program, you need to have Linux kernel 2.3.15 or newer which supports the /proc/bus/usb interface. OPTIONS
-v Tells lsusb to be verbose and display detailed information about all devices. -vv Tells lsusb to be very verbose and display even more information (actually everything the PCI device is able to tell). -s [[<bus>]:][<devnum>]] Show only devices in specified bus and devnum. -d [<vendor>]:[<product>] Show only devices with specified vendor and product ID. Both ID's are given in hexadecimal and may be omitted. -p <procpath> Use another path instead of /proc/bus/usb. -D <device> Do not scan the /proc/bus/usb directory, instead display only information if the device whose device file is given. -t Tells lsusb to dump the physical USB device hierarchy as a tree. FILES
/usr/share/hwdata/usb.ids A list of all known USB ID's (vendors, products, classes, subclasses and protocols). /proc/bus/usb An interface to USB devices provided by the post-2.3.15 Linux kernels. Contains per-bus subdirectories with per-device files and a devices file containing a list of all USB devices. SEE ALSO
lspci(8) AUTHOR
Thomas Sailer, <sailer@ife.ee.ethz.ch>. usbutils-0.2 14 September 1999 lsusb(8)
All times are GMT -4. The time now is 09:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy