[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kan debian geen minix partities lezen



On Mon, May 30, 2011 at 06:21:34PM +0000, Roelof Wobben wrote:
> 
> >  losetup --find --show --offset $[103329793*512] /dev/sdb4
> >  mount -t minix -o ro /dev/loop1 /mnt
> 
> [  265.445050] VFS: Can't find a Minix filesystem V1 | V2 | V3 on device loop0.
> [  282.869731] bio too big device loop1 (2 > 0)
> [  282.869737] MINIX-fs: unable to read superblock


Aan deze kant heb ik wat nagebouwd, op host "inertia", de hele disk is /dev/sdc:
|inertia:~
|# fdisk -lu /dev/sdc4
|
|Error: Can't have a partition outside the disk!
|inertia:~
|# fdisk -lu /dev/sdc
|
|Disk /dev/sdc: 8 GB, 8068999680 bytes
|255 heads, 63 sectors/track, 981 cylinders, total 15759765 sectors
|Units = sectors of 1 * 512 = 512 bytes
|
|   Device Boot      Start         End      Blocks   Id  System
|/dev/sdc1              63      321299      160618   83  Linux
|/dev/sdc2          321300      642599      152617   83  Linux
|/dev/sdc3          642600      963899      152617   83  Linux
|/dev/sdc4          963900    15759764     7389900    f  Extended LBA
|/dev/sdc5          963963     5783399     2401717   81  Minix >1.4b
|Warning: Partition 5 does not end on cylinder boundary.
|/dev/sdc6         5783401    10763549     2482042   81  Minix >1.4b
|Warning: Partition 6 does not end on cylinder boundary.
|/dev/sdc7        10763551    15759764     2490075   81  Minix >1.4b
|Warning: Partition 7 does not end on cylinder boundary.
|inertia:~
|inertia:~
|# losetup --find --show --offset $[963963*512] /dev/sdc
|/dev/loop0
|inertia:~
|# mount -t minix -o ro /dev/loop0 /mnt
|inertia:~
|# mount | grep /mnt
|/dev/loop0 on /mnt type minix (ro)
|inertia:~
|# ls -l /mnt | head -n 3
|totaal 872
|drwxr-xr-x  3 root   root      128 mrt 30 19:09 acpi
|-rw-r--r--  1 root   root     2975 apr 27  2008 adduser.conf
|inertia:~
|# echo Hoera
|Hoera
|inertia:~
|# umount /mnt
|inertia:~
|# losetup --detach /dev/loop0
|inertia:~
|# 


Het ziet er naar uit dat we uit de hele disk moeten lezen.
(merk op dat '/dev/sdb4' verandert is in '/dev/sdb' )

   losetup --find --show --offset $[103329793*512] /dev/sdb


Ik lees het morgenvroeg wel

Cheers,
Stappers
-- 
> And is there a policy on top-posting vs. bottom-posting?
Yes.


Reply to: