Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Recover a mistaken swap-formated USB-HD Post 302796929 by RudiC on Sunday 21st of April 2013 12:25:32 PM
Old 04-21-2013
I'm afraid you're out of luck:
1) If set up as a swap device, chances are it has been used during install, so data, or, even worse, structural data, have been overwritten.
2) Should some of your old data blocks still reside on disk, it would be extremely difficult if not impossible to put them back to your original files in correct order, esp. as they may well be binary / compressed data.
This User Gave Thanks to RudiC For This Post:
 

7 More Discussions You Might Find Interesting

1. SuSE

Disk Formated with NTFS

HI All, My pc has two disks, One disk loaded with windows NT 2000 and redhat linux 7.2 dual boot. Another disk 80GB added and formated with NTFS file system. How to access the 80GB NTFS file system disk by booting linux os. Thanks in advance Bache Gowda (4 Replies)
Discussion started by: bache_gowda
4 Replies

2. Windows & DOS: Issues & Discussions

1.44mb disk formated = 1.38mb left??

I was formating a couple of floppy disks, to make room for a ftp install of suse. However, the files you are suposed to put on the floppys are 1.4 mb. I thought "Fine, I have a 1.44 mb disk here". But appearantly windows uses 600kb on....tmp files or something. If anyone knows how I might fix... (4 Replies)
Discussion started by: G-wizz
4 Replies

3. Shell Programming and Scripting

processing tab-formated output of command w/bash

I have a command that when ran it will have an output such as string LongerString string2 longerString2 More MoreStrings seperated by tabs. The command lists domains and their accounts set up in my server admin software (interworx). The end result will be that it will run rsync for... (2 Replies)
Discussion started by: sweede
2 Replies

4. Shell Programming and Scripting

awk to find a formated o/p

hi i have a file which is having a.txt name aaa work business emp since 2oct office delhi name aba work business emp since 6oct name abc work shopper emp since ... (5 Replies)
Discussion started by: aaysa123
5 Replies

5. Shell Programming and Scripting

Create a formated text file

Hi, I have written a BASH shell script (included below) which will allow me to monitor my blood pressure. The script computes the mean of 5 user input systolic, diastolic, and heart rate values. I would like the script to then append these three values to their respective columns in a text... (5 Replies)
Discussion started by: msb65
5 Replies

6. SCO

Occasional Core Dump with hot swap USB Thumb Drive

Hello Unix World, I've been having this issue for the longest time. Here is my setup OS: SCO OpenServer 6.0 with mp4, mp3 Server: Dell PowerEdge 840, 800, 2900 USB Stick: Patriot 16GB High Speed, and many other different brands. Occasinaly while system is running and USB is pluged in the... (0 Replies)
Discussion started by: miles556
0 Replies

7. HP-UX

Swap device file and swap sapce

Hi I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system: - I would like to know when does the memory swap space spill over to the device swap space? - And how much % of memory swap utilization should be specified (swap space device... (6 Replies)
Discussion started by: lamoul
6 Replies
installboot(1M) 														   installboot(1M)

NAME
installboot - install bootblocks in a disk partition SYNOPSIS
installboot bootblk raw-disk-device The boot(1M) program, ufsboot, is loaded from disk by the bootblock program which resides in the boot area of a disk partition. The ufs boot objects are platform-dependent, and reside in the /usr/platform/platform-name/lib/fs/ufs directory. The platform name can be found using the -i option of uname(1). The installboot utility is a SPARC only program. It is not supported on the architecture. users should use installgrub(1M) instead. bootblk The name of the bootblock code. raw-disk-device The name of the disk device onto which the bootblock code is to be installed; it must be a character device which is read- able and writable. Naming conventions for a SCSI or IPI drive are c?t?d?s? and c?d?s? for an IDE drive. Example 1: Installing UFS Boot Block To install a ufs boot block on slice 0 of target 0 on controller 1 of the platform where the command is being run, use: example# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0 /usr/platform/platform-name/lib/fs/ufs directory where ufs boot objects reside. /platform/platform-name/ufsboot second level program to boot from a disk or CD See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ od(1), uname(1), boot(1M), init(1M), kadb(1M), kernel(1M), monitor(1M), reboot(1M), rpc.bootparamd(1M), init.d(4), attributes(5) WARNINGS
The installboot utility fails if the bootblk or openfirmware files do not exist or if the raw disk device is not a character device. 11 Apr 2005 installboot(1M)
All times are GMT -4. The time now is 05:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy