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

Re: mounting old ext2 - "does not exist"



On Sun, Jun 08, 2003 at 02:50:04AM -0700, Torben Brosten wrote:
> Chris Tillman wrote:
> 
> >This is pretty confusing; can you post the results of
> >
> >mac-fdisk -l
> >and
> >mount /dev/hdb8 /oldsuse
> >?
> >
> sure... (sorry for the confusion)
> 
> debian2:~# mount /dev/hdb8 /oldsuse
> mount: mount point /oldsuse does not exist

As Rogerio says, mkdir /oldsuse
 
> debian2:~# mac-fdisk -l
> 
> /dev/hda
>        #                    type name                  length   base      ( 
>        size )  system
> dump: name /dev/hda len 8 
> /dev/hda1     Apple_partition_map Apple                     63 @ 1         
> ( 31.5k)  Partition map
> /dev/hda2         Apple_Bootstrap bootstrap               1600 @ 41123899  
> (800.0k)  NewWorld bootblock
> /dev/hda3        Apple_Driver_ATA Macintosh                 54 @ 64        
> ( 27.0k)  Unknown
> /dev/hda4        Apple_Driver_ATA Macintosh                 74 @ 118       
> ( 37.0k)  Unknown
> /dev/hda5           Apple_Patches Patch Partition          512 @ 192       
> (256.0k)  Unknown
> /dev/hda6               Apple_HFS untitled            39075195 @ 704       
> ( 18.6G)  HFS
> /dev/hda7               Apple_HFS untitled 2           2048000 @ 39075899  
> (1000.0M)  HFS
> /dev/hda8         Apple_UNIX_SVR2 swap                 2097152 @ 41125499  
> (  1.0G)  Linux swap
> /dev/hda9         Apple_UNIX_SVR2 linux1              20971520 @ 43222651  
> ( 10.0G)  Linux native
> /dev/hda10        Apple_UNIX_SVR2 linux2              20971520 @ 64194171  
> ( 10.0G)  Linux native
> /dev/hda11        Apple_UNIX_SVR2 linux3              20971520 @ 85165691  
> ( 10.0G)  Linux native
> /dev/hda12        Apple_UNIX_SVR2 linux4              20971520 @ 106137211 
> ( 10.0G)  Linux native
> /dev/hda13        Apple_UNIX_SVR2 linux5              27262976 @ 127108731 
> ( 13.0G)  Linux native
> /dev/hda14        Apple_UNIX_SVR2 linux6               1929216 @ 154371707 
> (942.0M)  Linux native
> /dev/hda15             Apple_Free Extra                    565 @ 156300923 
> (282.5k)  Free space
> 
> Block size=512, Number of Blocks=156301487
> DeviceType=0x0, DeviceId=0x0
> Drivers-
> 1: @ 64 for 20, type=0x701
> 2: @ 118 for 33, type=0xf8ff
> 
> /dev/hdb
>        #                    type name                 length   base     ( 
>        size )  system
> dump: name /dev/hdb len 8 
> /dev/hdb1     Apple_partition_map Apple                    63 @ 1        ( 
> 31.5k)  Partition map
> /dev/hdb2        Apple_Driver_ATA Macintosh                54 @ 64       ( 
> 27.0k)  Unknown
> /dev/hdb3        Apple_Driver_ATA Macintosh                74 @ 118      ( 
> 37.0k)  Unknown
> /dev/hdb4           Apple_Patches Patch Partition         512 @ 192      
> (256.0k)  Unknown
> /dev/hdb5               Apple_HFS untitled            1441044 @ 704      
> (703.6M)  HFS
> /dev/hdb6               Apple_HFS untitled 2            67861 @ 1441748  ( 
> 33.1M)  HFS
> /dev/hdb7              Apple_Free untitled 3           579598 @ 1509609  
> (283.0M)  Free space
> /dev/hdb8              Apple_Free untitled 4         10567231 @ 2089207  (  
> 5.0G)  Free space
> /dev/hdb9              Apple_Free Extra                    10 @ 12656438 (  
> 5.0k)  Free space
> 
> Block size=512, Number of Blocks=12656447
> DeviceType=0x0, DeviceId=0x0
> Drivers-
> 1: @ 64 for 20, type=0x701
> 2: @ 118 for 33, type=0xf8ff
> 

So, just possibly, you can use mac-fdisk to create hdb7 and hdb8
as normal linux partitions -- use e.g.

c 7p 7p suse1

So that you don't change the sizes at all. (Be sure you're editing hdb
of course). Write the map to disk, and see if the mount command works
after rebooting. The idea is that maybe the partition got deleted from
the partition map, but really still has the ext2 filesystem on it.

-- 
Debian GNU/Linux Operating System
By the People, For the People
Chris Tillman (a people instance)



Reply to: