On Tue, Jan 28, 2003 at 12:00:18AM -0500, Shaun ONeil wrote: > On 2003.01.27 19:20 Haim Ashkenazi wrote: > >On Mon, 2003-01-27 at 23:27, will trillich wrote: > >> i've found an old (debian slink?) drive around the house, and > >> plugged it in -- but i can't mount most of the partitions! > >> > >> Device Boot Start End #cyls #blocks Id System > >> /dev/hdb1 * 0+ 3 4- 16127+ 83 Linux > >> /dev/hdb2 4 64 61 245952 83 Linux > >> /dev/hdb3 65 618 554 2233728 5 Extended > >> /dev/hdb4 0 - 0 0 0 Empty > >> /dev/hdb5 65+ 573 509- 2052287+ 83 Linux > >> /dev/hdb6 574+ 618 45- 181439+ 82 Linux swap
> # dd if=/dev/hda6 bs=1k count=50 | file - > 50+0 records in > 50+0 records out > 51200 bytes transferred in 0.116208 seconds (440589 bytes/sec) > standard input: Linux rev 1.0 ext2 filesystem data > (mounted or unclean) > > There may be a good reason not to do this, but it's always worked for me there may indeed, but THAT'S A REALLY COOL TIP. cut it out. here's hdb1-- root: /mnt# dd if=/dev/hdb1 bs=1k count=200 | file - standard input: data 9+0 records in 8+0 records out root: /mnt# dd if=/dev/hdb1 bs=1k count=20 | hexdump -C 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000200 1d ee a0 fe 92 2e 52 d5 7e 29 7e 31 d2 90 35 52 |.î þ..RÕ~)~1Ò.5R| 00000210 91 35 28 7e 79 97 cb 2f dd 8a e5 90 90 29 9f 2a |.5(~y.Ë/Ý.å..).*| 00000220 16 02 52 27 5b 3b ad e8 3e cc db e3 36 a5 3a a5 |..R'[;è>ÌÛã6¥:¥| 00000230 c0 ad e8 3e 67 5a 38 16 02 5a d8 90 3e 29 60 82 |Àè>gZ8..ZØ.>)`.| 00000240 12 2e 5a d4 95 29 2e 9a 20 e3 3e c5 dc a7 68 0b |..ZÔ.).. ã>Åܧh.| 00000250 b8 a4 68 2a 9a 28 12 20 5a 3f 9a 25 12 22 5a 2b |¸¤h*.(. Z?.%."Z+| 00000260 14 ea 5b 05 6e e8 68 0b 28 5b 0a 95 84 7b 7e 9a |.ê[.nèh.([...{~.| 00000270 6f e3 3d 76 5c 38 af d5 7b 84 5b 3e d8 ef 2f 5a |oã=v\8¯Õ{.[>Øï/Z| 00000280 25 a4 ce a6 78 0a e9 28 8f 28 c5 30 a6 48 2a 91 |%¤Î¦x.é(.(Å0¦H*.| 00000290 24 2e 96 2f 2c a5 f2 1d e7 ad d1 2b 51 2d a5 60 |$../,¥ò.çÑ+Q-¥`| 000002a0 0b 2d 60 2c e3 3d 5c 07 90 68 29 af 10 d0 53 7b |.-`,ã=\..h)¯.ÐS{| 000002b0 84 5a 74 ad c1 2b 51 f4 ab d8 5b ad 90 09 29 c5 |.ZtÁ+Qô«Ø[..)Å| 000002c0 a4 b6 bf 7c b7 2d 68 26 3d 78 24 c6 3c 2e 74 c5 |¤¶¿|·-h&=x$Æ<.tÅ| 000002d0 fb 61 5a ca 1d ee e3 3d c5 96 2e 2e ae 07 07 0e |ûaZÊ.îã=Å...®...| 000002e0 78 1d d8 78 78 7c 7e 28 7d 7f 90 3e 2e 78 a5 da |x.Øxx|~(}..>.x¥Ú| 000002f0 7e 7c 96 2e 6c a4 78 0a e3 3d 74 76 a3 4a 3e 5c |~|..l¤x.ã=tv£J>\| 00000300 24 6e 5b 2f 6c ae e9 2c cc d9 d6 70 ed c5 5a 67 |$n[/l®é,ÌÙÖpíÅZg| 00000310 40 58 4f 42 47 4a 0e 5e 4f 5c 5a 47 5a 47 41 40 |@XOBGJ.^O\ZGZGA@| 00000320 0e 5a 4f 4c 42 4b 2e 6b 5c 5c 41 5c 0e 42 41 4f |.ZOLBK.k\\A\.BAO| 00000330 4a 47 40 49 0e 41 5e 4b 5c 4f 5a 47 40 49 0e 5d |[EMAIL PROTECTED]^K\OZG@I.]| 00000340 57 5d 5a 4b 43 2e 63 47 5d 5d 47 40 49 0e 41 5e |W]ZKC.cG]][EMAIL PROTECTED]^| 00000350 4b 5c 4f 5a 47 40 49 0e 5d 57 5d 5a 4b 43 2e 2e |K\OZG@I.]W]ZKC..| 00000360 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e |................| [snip] at least it's lots of binary stuff... and hdb5-- root: /mnt# dd if=/dev/hdb5 bs=1k count=200 | file - standard input: ASCII English text, with CRLF line terminators 9+0 records in 8+0 records out not good. in fact it looks like it starts in the middle of an sgml (perhaps html) document from DOS. oh well. root: /mnt# dd if=/dev/hdb5 bs=1k count=5 | hexdump -C 00000000 74 75 72 6e 65 64 2e 0d 0a 0d 0a 3c 2f 50 3e 0d |turned.....</P>.| 00000010 0a 3c 50 3e 0d 0a 3c 50 52 45 3e 20 20 75 73 65 |.<P>..<PRE> use| 5+0 records in 5+0 records out 00000020 20 4c 57 50 3a 3a 55 73 65 72 41 67 65 6e 74 3b | LWP::UserAgent;| 00000030 0d 0a 20 20 24 75 61 20 3d 20 6e 65 77 20 4c 57 |.. $ua = new LW| 00000040 50 3a 3a 55 73 65 72 41 67 65 6e 74 3b 0d 0a 20 |P::UserAgent;.. | 00000050 20 24 75 61 2d 26 67 74 3b 61 67 65 6e 74 28 26 | $ua->agent(&| 00000060 71 75 6f 74 3b 24 30 2f 30 2e 31 20 26 71 75 6f |quot;$0/0.1 &quo| 00000070 74 3b 20 2e 20 24 75 61 2d 26 67 74 3b 61 67 65 |t; . $ua->age| 00000080 6e 74 29 3b 0d 0a 20 20 23 20 24 75 61 2d 26 67 |nt);.. # $ua-&g| 00000090 74 3b 61 67 65 6e 74 28 26 71 75 6f 74 3b 4d 6f |t;agent("Mo| 000000a0 7a 69 6c 6c 61 2f 38 2e 30 26 71 75 6f 74 3b 29 |zilla/8.0")| 000000b0 20 23 20 70 72 65 74 65 6e 64 20 77 65 20 61 72 | # pretend we ar| 000000c0 65 20 76 65 72 79 20 63 61 70 61 62 6c 65 20 62 |e very capable b| 000000d0 72 6f 77 73 65 72 0d 0a 3c 2f 50 52 45 3e 0d 0a |rowser..</PRE>..| 000000e0 3c 2f 50 3e 0d 0a 3c 50 3e 0d 0a 3c 50 52 45 3e |</P>..<P>..<PRE>| 000000f0 20 20 24 72 65 71 20 3d 20 6e 65 77 20 3c 41 20 | $req = new <A | 00000100 48 52 45 46 3d 22 48 54 54 50 2f 52 65 71 75 65 |HREF="HTTP/Reque| 00000110 73 74 2e 68 74 6d 6c 22 3e 48 54 54 50 3a 3a 52 |st.html">HTTP::R| 00000120 65 71 75 65 73 74 3c 2f 41 3e 20 27 47 45 54 27 |equest</A> 'GET'| 00000130 20 3d 26 67 74 3b 20 27 3c 41 20 48 52 45 46 3d | => '<A HREF=| 00000140 22 68 74 74 70 3a 2f 2f 77 77 77 2e 73 6e 2e 6e |"http://www.sn.n| 00000150 6f 2f 6c 69 62 77 77 77 2d 70 65 72 6c 22 3e 68 |o/libwww-perl">h| [snip] i guess i'll just zap this sucker and get it over with. :( -- I use Debian/GNU Linux version 3.0; Linux server 2.4.20-k6 #1 Mon Jan 13 23:49:14 EST 2003 i586 unknown DEBIAN NEWBIE TIP #8 from Will Trillich <[EMAIL PROTECTED]> : Search for Debian PACKAGES online with this shortcut: http://packages.debian.org/<packagename> If you can't find it right off, just hop to the "search packages" link that's offered there. Also see http://newbieDoc.sourceForge.net/ ... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]