Do it manually. Save your boot sector and /etc/fstab so you know what kind of partitions belong where, then create tarballs of the contents of every partition. By restoring the boot sector, 'w'-ing it inside 'fdisk', re-creating empty partitions and un-taring their contents in them, you ought to create a bootable system.
The following is the content of my /etc/fstab file:
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda6 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda7 during installation
UUID=ea0965c8-d66b-4f0e-bb20-ed629eb011fc none swap sw 0 0
Quote:
so you know what kind of partitions belong where
so , here the only thing i need to backup is /dev/sda6.
Quote:
then create tarballs of the contents of every partition
so, i'l try to backup /dev/sda6 using:
Code:
tar cvpjf backup.tar.bz2 (here how can i say to backup /dev/sda6?)
Hello,
Anyone out there can help on this problem?
I have a zip file about 34MB containing a file in EBCDIC and is resided on a Windows 2000 server.
This zip file is retrieved and read from a UNIX server via SAMBA "SMBCLIENT" (by default the file is transferred via command bin) and issued... (2 Replies)
Hello everybody .. i want connect with smbclient to an windows server 2003 with active directory. Exist a version of samba that can do this?
Thank you very much for your time.
Good Luck :b: (3 Replies)
I have successfully gotten AIX to print to a windows shared printer with this command:
smbclient -U user%password -W domain -c "print file.ext"
the only problem is: I have this print queue set up on the Windows side to overlay an image to all pages. When printing from samba, the overlay... (2 Replies)
The directory on windows server is renamed and I need to change the directory location on smbclient on unix. How do i do that, please advice. (2 Replies)
Hi,
I am trying to use smbclient to send message to a windows machine.It is showing "connection failed message" . After googled I came to know about "smbfind" which will give me the nodes in my network. In that list the machine name was not present where I was trying to send the message.
... (1 Reply)
Hi,
I've a question regarding a smbclient-Command in my shell script.
Here my relevant script part:
fileattr=`/opt/samba/bin/smbclient --authentication-file=$AUTH_FILE //$SMB_HOST/$SMB_SHARE 2> /dev/null
prompt off
cd $SMB_DIR
put $LOC_FILE $SMB_FILE
dir /$SMB_DIR/$SMB_FILE
... (17 Replies)
Hi All,
I've been facing on this issue.
From SunOS to Windows
/usr/local/samba/bin/smbclient \\IP\<source dir> -D $TARGET_DIR -U dir1/$WINDOWS_USER%$WINDOWS_PWD -c "put $SOURCE_FILE $TAR
GET_FILE;exit"
This command in my shell script work fine but the file saved on windows environment... (3 Replies)
Hi,
So I am writting a script to copy files from Linux to windows using smbclient, I have done this a fair amount of times now. Unfortunately this time I am using a simply if statement to determine if the file exists before beginning the smbclient section.....however if I tab the smbclient... (4 Replies)
Hi All,
Have written a couple of lines to move the contents of a folder from a unix box to a windows location using smbclient (below)
smbclient '{servicename}' -A ~/.smbclientauth -c 'mkdir \test_folder"'
smbclient '{servicename}' -A ~/.smbclientauth -c 'cd "; lcd ";... (4 Replies)
I have the smbclient installed and I am able to see information from the '-L' option. But when I attempt to login I'm getting the "NT_STATUS_BAD_NETWORK_NAME". I was hoping for help, because I'm not sure what is supposed to go into the smb.conf file. My goal is to transfer files from my Linux... (2 Replies)
Discussion started by: islanderman
2 Replies
LEARN ABOUT DEBIAN
ltsp-update-image
ltsp-update-image(8) System Manager's Manual ltsp-update-image(8)NAME
ltsp-update-image - Generate an NBD image from an LTSP chroot
SYNOPSIS
ltsp-update-image [OPTION] [CHROOT...]
DESCRIPTION
ltsp-update-image generates a compressed squashfs image from an LTSP chroot and exports it with nbd-server(1). CHROOT can be a full path
or a subdirectory of the /opt/ltsp base directory, and it defaults to the host architecture if unset.
OPTIONS -b --base=
The LTSP base directory. Defaults to "/opt/ltsp".
-c --cleanup
Temporarily remove user accounts, logs, caches etc from the chroot before exporting the image. The chroot arch is required to be
compatible with the server arch.
-e --exclude=
List of dirs/files to exclude from the image. This is in addition to /etc/ltsp/ltsp-update-image.excludes.
-f --config-nbd
Generate appropriate nbd-server configuration files. It's automatically set if NFS isn't used or if other LTSP generated nbd-server
configuration files already exist.
-h --help
The application help page.
-m --no-compress
Don't compress the generated image.
-n --no-backup
Don't backup chroot.img to chroot.img.old.
-r --revert
Swap chroot.img with chroot.img.old and update kernels.
SEE ALSO ltsp-build-client(8), ltsp-update-kernels(8), ltsp-update-sshkeys(8), mksquashfs(1), nbd-server(1).
AVAILABILITY
ltsp-update-image is part of ltsp package and the latest versions are available in source form from https://launchpad.net/ltsp.
MAN PAGE AUTHOR
Copyright 2012 Alkis Georgopoulos <alkisg@gmail.com>, distributed under the terms of the GNU General Public License version 2 or any later
version.
2012-05-29 ltsp-update-image(8)