Gentoo Archives: gentoo-amd64

From: Raffaele BELARDI <raffaele.belardi@××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: not amd64 specific - disk failure - SUCCESS
Date: Thu, 22 Nov 2007 09:36:29
Message-Id: 47454D91.5030109@st.com
In Reply to: Re: [gentoo-amd64] Re: not amd64 specific - disk failure by Raffaele BELARDI
1 Raffaele Belardi wrote:
2 > Raffaele Belardi wrote:
3 >> Other options I may have? Is it possible to fake the kernel into using
4 >> the sdb.img as a disk image, so mount it as a disk (not as a partition)
5 >> so maybe it automatically skips the first 0x7e00 bytes and gives me an
6 >> aligned first partition?
7 >
8 > losetup
9 >
10 > http://www.osdev.org/osfaq2/index.php/Disk%20Images%20Under%20Linux
11 >
12 > Google before you ask...
13 >
14
15 So, for the record, finally using the hints from the above link I
16 managed to recover most of the data. The successful commands were:
17
18 # losetup -o32356 /dev/loop0 /mnt/disk_500/sdb.img
19 # mount -text2 /dev/loop /mnt/sdb_img -o sb=131072,ro
20
21 Thanks to all for the precious help.
22
23 raffaele
24 --
25 gentoo-amd64@g.o mailing list

Replies

Subject Author
[gentoo-amd64] Re: not amd64 specific - disk failure - SUCCESS Duncan <1i5t5.duncan@×××.net>