LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-17-2006, 05:24 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Rep: Reputation: 53
Can different FS be duplicated


Hi folks,

I have DSL 2.2b running on /dev/hda5 on ext 2 with grub as bootloader. I have /dev/sda1 of a pendrive running on FAT16 which is a MUST otherwise the BIOS unable to boot it. I'm testing to run DSL on the pendrive using grub as bootload.

Would it be possible to duplicate /dev/hda5 on /dev/sda1 the later having 800M in capacity sufficient for DSL 2.2b to run. They are of different filesystem.

I tried follows without success;

1)
# cp -aRx /mnt/hda5/* /mnt/sda1/
Code:
....
....
cp: cannot create symbolic link `/mnt/sda1/etc/rc5.d/S49dsl_restore': Operation not permitted
cp: cannot create symbolic link `/mnt/sda1/etc/rc5.d/S99bootlocal': Operation not permitted
cp: cannot create symbolic link `/mnt/sda1/etc/rc6.d/K20pcmcia': Operation not permitted
cp: cannot create symbolic link `/mnt/sda1/etc/rc6.d/K79nfs-common': Operation not permitted
cp: cannot create symbolic link `/mnt/sda1/etc/rc6.d/S90knoppix-reboot': Operation not permitted
cp: cannot create symbolic link `/mnt/sda1/etc/rcS.d/S00knoppix-autoconfig': Operation not permitted
cp: cannot create symbolic link `/mnt/sda1/etc/rcS.d/S01dsl-config': Operation not permitted
cp: cannot create symbolic link `/mnt/sda1/etc/rcS.d/S35devpts.sh': Operation not permitted
cp: cannot create symbolic link `/mnt/sda1/etc/resolv.conf': Operation not permitted
cp: cannot create symbolic link `/mnt/sda1/etc/samba': Operation not permitted
cp: failed to preserve ownership for `/mnt/sda1/etc/shadow': Operation not permitted
I have to stop it manually.


2)
# (cd /mnt/hda5 && tar -clpsf- *) | (cd /mnt/sda1 && tar -xpsf -)
Code:
...
...
tar: dev/tty25: Cannot mknod: Operation not permitted
tar: dev/tty26: Cannot mknod: Operation not permitted
tar: dev/tty27: Cannot mknod: Operation not permitted
tar: dev/tty28: Cannot mknod: Operation not permitted
tar: dev/tty29: Cannot mknod: Operation not permitted
tar: dev/tty3: Cannot mknod: Operation not permitted
tar: dev/tty30: Cannot mknod: Operation not permitted
tar: dev/tty31: Cannot mknod: Operation not permitted
tar: dev/tty32: Cannot mknod: Operation not permitted
tar: dev/tty33: Cannot mknod: Operation not permitted
tar: dev/tty34: Cannot mknod: Operation not permitted
tar: dev/tty35: Cannot mknod: Operation not permitted
tar: dev/tty36: Cannot mknod: Operation not permitted
tar: dev/tty37: Cannot mknod: Operation not permitted
tar: dev/tty38: Cannot mknod: Operation not permitted
tar: dev/tty39: Cannot mknod: Operation not permitted
I have to stop it manually.


3)
# (cd /mnt/hda5 && tar -cpsf- *) | (cd /mnt/sda1 && tar -xpsf -)
Code:
...
......
tar: dev/sdb8: Cannot mknod: Operation not permitted
tar: dev/sdb9: Cannot mknod: Operation not permitted
tar: dev/sdc: Cannot mknod: Operation not permitted
tar: dev/sdc1: Cannot mknod: Operation not permitted
tar: dev/sdc10: Cannot mknod: Operation not permitted
tar: dev/sdc11: Cannot mknod: Operation not permitted
tar: dev/sdc12: Cannot mknod: Operation not permitted
tar: dev/sdc13: Cannot mknod: Operation not permitted
tar: dev/sdc14: Cannot mknod: Operation not permitted
tar: dev/sdc15: Cannot mknod: Operation not permitted
tar: dev/sdc2: Cannot mknod: Operation not permitted
tar: dev/sdc3: Cannot mknod: Operation not permitted
tar: dev/sdc4: Cannot mknod: Operation not permitted
tar: dev/sdc5: Cannot mknod: Operation not permitted
tar: dev/sdc6: Cannot mknod: Operation not permitted
I have to stop it manually.

Advice would be appreciated. TIA

B.R.
satimis
 
Old 03-17-2006, 06:35 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,502

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Beyond many others features, FAT doesn't supports symbolic links.
 
Old 03-17-2006, 10:26 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
Would it be possible to copy DSL to the pendrive as an .iso image, then run the distro directly from the image itself.

I know it's possible to recursively mount a disk image using the loopback command in mount, but I don't know if it's possible to boot from one directly. I imagine it could be done though. Perhaps there's a way to get grub to boot from the image as if it were a CD?
 
Old 03-17-2006, 05:53 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
I haven't used either distro but you could try ZipSlack. It runs from a file on a FAT disk, could be worth a shot
 
Old 03-17-2006, 06:00 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,502

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Another option would have been to use UMSDOS on the pendrive, but I'm afraid support is fading in recent kernels ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Events get duplicated when syncing treo600 with evolution cchristian Linux - Software 0 04-09-2005 07:45 AM
Duplicated Bad Blocks kills RH9 bootup RH9_Blues Red Hat 2 03-01-2005 09:19 AM
Qmail Email. Some emails are duplicated. kemplej Linux - Networking 3 02-01-2005 08:21 AM
TCP retransmission and duplicated ack enjoyzj Linux - Networking 0 06-05-2004 06:19 PM
Duplicated sliders in gnome-volume-control. crdiscoverer Linux - Software 12 03-31-2004 11:43 AM


All times are GMT -5. The time now is 08:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration