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

Accessing old partition from lenny



Hello,

On a G4 freshly installed with lenny, I've trouble accessing my old partitions :

- hdc is a new disk with lenny
- hda is my old disk with data on it

udev doesn't create device above hda1 :
# ls -l /dev/hda*
brw-rw---- 1 root disk 3, 0 fév 13 18:30 /dev/hda
brw-rw---- 1 root disk 3, 1 fév 13 18:30 /dev/hda1

Playing with mknod doesn't improve the situation.

As shown by the following fdisk, hda has been partitionned quite some type ago (cf. the name bf-3.0.16 and friend on some partitions) and the size of the NewWorld bootblock is not of the same as the one on hdc.

Could this be the issue ?

@+,
	Fab


# fdisk -l
/dev/hda
# type name length base ( size ) system /dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/hda2 Apple_Bootstrap bootstrap 1600 @ 64 (800.0k) NewWorld bootblock /dev/hda3 Apple_UNIX_SVR2 swap 524288 @ 1664 (256.0M) Linux swap /dev/hda4 Apple_UNIX_SVR2 / 2097152 @ 525952 ( 1.0G) Linux native /dev/hda5 Apple_UNIX_SVR2 /usr 10485760 @ 2623104 ( 5.0G) Linux native /dev/hda6 Apple_UNIX_SVR2 bf-3.0.16 2097152 @ 13108864 ( 1.0G) Linux native /dev/hda7 Apple_UNIX_SVR2 dump 2097152 @ 15206016 ( 1.0G) Linux native /dev/hda8 Apple_UNIX_SVR2 bf3.0.17 2097152 @ 17303168 ( 1.0G) Linux native /dev/hda9 Apple_Free Extra 61017920 @ 19400320 ( 29.1G) Free space

Block size=512, Number of Blocks=80418240
DeviceType=0x0, DeviceId=0x0

/dev/hdc
# type name length base ( size ) system /dev/hdc1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/hdc2 Apple_Bootstrap untitled 1954 @ 64 (977.0k) NewWorld bootblock /dev/hdc3 Apple_UNIX_SVR2 untitled 74824219 @ 2018 ( 35.7G) Linux native /dev/hdc4 Apple_UNIX_SVR2 swap 3298763 @ 74826237 ( 1.6G) Linux swap

Block size=512, Number of Blocks=78125000
DeviceType=0x5007, DeviceId=0x501f


Reply to: