Hello!
I need to write partitioning script wich would work in rescue mode. It will prepare partitions and unpack linux on it. However I need to calculate whole size of the disk and create:
/dev/sda1 --> One big partition (minus (2*size of memory) for swap)
/dev/sda2 --> Swap partition... (1 Reply)
I was runing suse 10.2 and windows ,i had installed windows on a separate 40 gb hard disk and linux on a 160 gb disk which it shrunk and left some 60 gb which were readable in windows.
Due to the fact that i store alot of data in the windows partions i used all the extra 60gb which where readable... (2 Replies)
Hi all,
I am running xen virtual machine on centos 5 and xen gust o.s is centos.
I cannot boot my xen vm machine it saying cannot find /bin/sh to execute.
I want to go to rescue mode of my xen vm machine.
I know how to do on actual physical machine but how i can enter in rescue mode of... (1 Reply)
Hi all,
I am running xen virtual machine on centos 5 and xen gust o.s is centos.
I cannot boot my xen vm machine it saying cannot find /bin/sh to execute.
I want to go to rescue mode of my xen vm machine.
I know how to do on actual physical machine but how i can enter in rescue mode of... (6 Replies)
Hi,
I'm trying to resize an ext3 FS (filesystem) under an LVM.
I have booted the OS (RHEL 4) in rescue mode using the CD media and I'm able to use lvm commands.
Now, I'm trying to shrink the filesystem before actually shrinking the logical volume but I cannot find ext2onlone or resize2fs... (1 Reply)
Hi Everyone,
we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment?
Thanks in adv. (0 Replies)
I accidently deleted fstab file from one of the compute nodes of the cluster (RHEL 5.3). Due to this no filesystem/directory is mounted on the system during bootup. I started system in rescue mode but it says You don't have any linux partitions. Press return to get a shell. The system will reboot... (2 Replies)
I'm trying to resolve the below scenario by writing bash script.
On my managed linux server I have about 30 accounts and there is not enough space to generate full 30 accounts backup in one go and transfer it via SFTP to my Backup Synology Server. What I'm thinking of doing is breaking the... (3 Replies)
Hello,
I am running ubuntu 14.04
My server has problems again. I need to manage system files in rescue mode, backup some files, edit /etc/crontab and rc.local files etc.
root@rescue:~# cat /proc/mdstat
Personalities :
md2 : active raid1 sda2 sdb2
4193216 blocks
md3 :... (4 Replies)
Discussion started by: baris35
4 Replies
LEARN ABOUT DEBIAN
scrounge-ntfs
scrounge-ntfs(8) BSD System Manager's Manual scrounge-ntfs(8)NAME
scrounge-ntfs -- helps retrieve data from corrupted NTFS partitions
SYNOPSIS
scrounge-ntfs -l disk
scrounge-ntfs -s disk
scrounge-ntfs [-m mftoffset] [-c clustersize] [-o outdir] disk start end
DESCRIPTION
scrounge-ntfs is a utility that can rescue data from corrupted NTFS partitions. It writes the files retrieved to another working file system.
Certain information about the partition needs to be known in advance.
The -l mode is meant to be run in advance of the data corruption, with the output stored away in a file. This allows scrounge-ntfs to recover
data reliably. See the 'NOTES' section below for recover info when this isn't the case.
OPTIONS
The options are as follows:
-c The cluster size (in sectors). When not specified a default of 8 is used.
-l List partition information for a drive. This will only work when the partition table for the given drive is intact.
-m When recovering data this specifies the location of the MFT from the beginning of the partition (in sectors). If not specified
then no directory information can be used, that is, all rescued files will be written to the same directory.
-o Directory to put rescued files in. If not specified then files will be placed in the current directory.
-s Search disk for partition information. (Not implemented yet).
disk The raw device used to access the disk which contains the NTFS partition to rescue files from. eg: '/dev/hdc'
start The beginning of the NTFS partition (in sectors).
end The end of the NTFS partition (in sectors)
NOTES
If you plan on using this program sucessfully you should prepare in advance by storing a copy of the partition information. Use the -l option
to do this. Eventually searching for disk partition information will be implemented, which will solve this problem.
When only one partition exists on a disk or you want to rescue the first partition there are ways to guess at the sector sizes and MFT loca-
tion. See the scrounge-ntfs web page for more info:
http://memberwebs.com/swalter/software/scrounge/
AUTHOR
Stef Walter <stef@memberwebs.com>
scrounge-ntfs June 1, 2019 scrounge-ntfs