Re: [SLUG] HD fscked?

From: Eben King (eben1@tampabay.rr.com)
Date: Fri Dec 09 2005 - 11:49:25 EST


On Fri, 9 Dec 2005, Levi Bard wrote:

> > Copy each partition into a file with something like
> > dd if=/dev/hdxn bs=512 conv=noerror | gzip -9 > hdxn.img.gz
>
> Sounds great, except I can't read the partition table, and makedev
> won't even create the /dev/hdb* devices on boot.

You can create the hdb? devices with mknod ("mknod /tmp/hdb1 c 3 65", etc.).

Here are the first few devices:
   0 brw-rw---- 1 root disk 3, 65 Aug 30 2002 /dev/hdb1
   0 brw-rw---- 1 root disk 3, 66 Aug 30 2002 /dev/hdb2
   0 brw-rw---- 1 root disk 3, 67 Aug 30 2002 /dev/hdb3
   0 brw-rw---- 1 root disk 3, 68 Aug 30 2002 /dev/hdb4
   0 brw-rw---- 1 root disk 3, 69 Aug 30 2002 /dev/hdb5
   0 brw-rw---- 1 root disk 3, 70 Aug 30 2002 /dev/hdb6
   0 brw-rw---- 1 root disk 3, 71 Aug 30 2002 /dev/hdb7
   0 brw-rw---- 1 root disk 3, 72 Aug 30 2002 /dev/hdb8
   0 brw-rw---- 1 root disk 3, 73 Aug 30 2002 /dev/hdb9
etc.

Can you access the disk using the alternate partition tables at blocks
(8192*n + 1) IIRC?

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
SAGITTARIUS:  All your friends are laughing behind your back... kill
them.  Take down all those naked pictures of Ernest Borgnine you've got
hanging in your den.  -- Weird Al, _Your Horoscope for Today_

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:26:05 EDT