[SuSE-PPC7.1-0.0] Wrecked HD on iMac, help

Hi, I lost my iMac boot (suse-ppc7.1, OS9.0.4) after a dumb installation of LVM under YAST1 to the whole hard disk. Disclaimer: yes, I was stupid fooling around with LVM not knowing what it was. I can lose both OS installs, but I would like to see my data back !! Initially I installed my system along the Suse book, and added a large hfs partition readable both under linux and macOS. Of course I do not have a copy of the partition table... I ran the boot CD, and from the console played around w/ pdisk and parted. I want to rebuild the partition table from the data which normally should be intact (?) Here are a few questions I have: 1. I can make a new disk label. >> Which one ? mac or ext2 or ... ? 2. When I try to follow the partition reconstruction guidelines described in Partition-HOWTO, section 6, I fail right at step 2, with the following error: Dumpe2fs: Bad magic number in super-block while trying to open /dev/hda1. Couldn't find valid filesystem in superblock. >> I am totally at loss here 3. I wonder if I can put my mac IDE HD to an *intel* machine and try to repair it from there. At leat I could use floppies. >> Would the HD melt down or what ?? I hope some readers of the list can help. Thanks in advance. -- JPM

On Tue, Jun 26, Jean-Philippe Moins wrote:
I lost my iMac boot (suse-ppc7.1, OS9.0.4) after a dumb installation of LVM under YAST1 to the whole hard disk. Disclaimer: yes, I was stupid fooling around with LVM not knowing what it was.
How did you enter the LVM setup menu? It should be disabled (grey) on powermacs.
I can lose both OS installs, but I would like to see my data back !! Initially I installed my system along the Suse book, and added a large hfs partition readable both under linux and macOS. Of course I do not have a copy of the partition table...
There is no way to get the data back. Boot CD1, start yast1, switch to console2 with ALT+F2 and run dd if=/dev/zero of=/dev/hda for a few seconds. That will remove the broken partition table (it contains now a fdisk and pdisk label). Then reboot with the MacOS CD and create a fresh partition map with Drive Setup. Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...

Hi Olaf,
How did you enter the LVM setup menu? It should be disabled (grey) on powermacs.
I started Yast, then "adjust installation" or "system administration" (don't remember) then selected Configure LMV which was enabled indeed. I have a 6 CD pack-english, version is 7.1-0.0
I can lose both OS installs, but I would like to see my data back !!
There is no way to get the data back.
Do you mean my disk was re-formatted in the process ??? It is a 30 Gig disk, I didn't hear it wind much when I pressed the "ok" button...
Boot CD1, start yast1, switch to console2 with ALT+F2 and run dd if=/dev/zero of=/dev/hda for a few seconds. That will remove the broken partition table (it contains now a fdisk and pdisk label). Then reboot with the MacOS CD and create a fresh partition map with Drive Setup.
Ok. If I install a new MacOS partition (small one), could I use some mac tools to recover files ? Or am I extremely sorry now ?
Gruss Olaf
-- $ man clone
BUGS Main feature not yet implemented...
--JPM

Hello People, sorry to insist, but this is important to me somehow... So I installed LVM on my iMac over the whole disk; Now it doesn't boot. I was willing to reconstruct -try to, at least- a partition table to get back my data. This is an except from Olaf kind responses:
There is no way to get the data back.
Can you please confirm that, when creating an LVM volume, data previously stored in ext2 and hfs partitions is erased ? Thanks for your input. --JPM

On Tue, Jun 26, Jean-Philippe Moins wrote:
Hello People,
sorry to insist, but this is important to me somehow...
So I installed LVM on my iMac over the whole disk; Now it doesn't boot. I was willing to reconstruct -try to, at least- a partition table to get back my data.
This is an except from Olaf kind responses:
There is no way to get the data back.
Can you please confirm that, when creating an LVM volume, data previously stored in ext2 and hfs partitions is erased ?
Thanks for your input.
If you already had a working LVM setup with data on it, how did you boot it? My guess is that you removed you pdisk label which is required for MacOS and therefore lost all your data in MacOS. Anyways, creating an LVM setup on an iMac makes no sense as long as you dont have a boot able CD to mount the LVM root. your harddrive will be not bootable as soon as you put an fdisk label on it. Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...
participants (2)
-
Jean-Philippe Moins
-
Olaf Hering