LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Autorepaired SUSE 10 for GRUB reinstall - now hda4 reiserfs superblock not found (https://www.linuxquestions.org/questions/linux-newbie-8/autorepaired-suse-10-for-grub-reinstall-now-hda4-reiserfs-superblock-not-found-448926/)

Dagny's Gimp 05-26-2006 09:15 PM

Autorepaired SUSE 10 for GRUB reinstall - now hda4 reiserfs superblock not found
 
<caveat>
I'm new at this/please be gentle/I'm feeling a little fragile at the moment
</caveat>

Here is what I did and saw:

The computer is (was?) an HP Pavilion zv5000 with SUSE 10/WIN XP home SP2. There is only one hard drive: hda... 80 gigs. Windows exists on hda1 and occupies about 15 gigs of disk space.
When I first installed SUSE, I opted for the default partition and installtion settings.

Everything was running great, until... I decided to wipe and reinstall windows due to seriously degraded performance.

I selected the LONG reformat option when reinstalling Windows instead of the quick format. I did this operating under the assumption (I admit it... I assumed something)... under the assumption that this would completely erase my Windows partition (what I wanted).

I reinstalled Windows at it boots up properly... without a trace of GRUB (what I expected).

Cool. Now all that I needed to do was reinstall GRUB (also what I expected).

So... I booted from the SUSE 10 DVD, clicked through language selection and license acception, and arrived at the "Installation Mode" screen.

From the "Installation Mode" screen, I clicked "Other...". Then I clicked "Repair"

From the "Repair" screen I came across three options:
1. Click here for automatic repair and go get a cup of coffee
2. Click here if you _think_ you know something.
3. Click here if you are _positive_ that you know what you are doing.

It is here I suspect that I erred.

I clicked option 1. Automatic repair.

From here things are a little sketchy, I admit.

The "auto repair" option spotted a problem. It seems that /dev/hda3 did not have a mount point declared in /etc/fstab.
So I let the repair program suggest a new mount point: /data2. Then it did it again and suggested /data3 as a mount point for hda3.
I accepted both suggestions since I knew that if they were wrong, I could simply edit /etc/fstab.

Now GRUB works great: Windows boots just fine. But when I select Linux...
a lot of text flashes by before I can read it, then it hangs.
At the top of the screen I see: "ACPI: Looking for DSDT in initrd... not found! not found!"

At the very bottom of the screen (after it hangs) is: "ACPI: Subsystem revision 20050408"

When I boot from SUSE 10 DVD and select "Boot Installed System" however, I get this:
"booting from hda3..."
then more text flashes by in a hurry... then:
"modprobe: FATAL: Could not load /lib/modules/2.6.13-15-default/modules.dep: No such file or directory.

Activating swap-devices in /etc/fstab... failed fsck 1.38 (30-June-2005)
bread: Cannot read the block (2): (Invalid Argument) reiserfs_open: bread failed reading block 2
(ditto the above two lines for block 16)

reiserfs_open: the reiserfs superblock cannot be found on /dev/hda4
Failed to open the filesystem.
If the partion table has not been changed, and the partition is valid and it really contains a reiserfs partition, then the superblock is corrupted and you need to run this utility with
--rebuild-sb.
Warning... fsck.reiserfs for device /dev/had4 exited with signal 6.
fsck.reiserfs /dev/hda4 failed (status 0x8) run manually!"

At this point I enter the root password and am dumped out at a command prompt.

Here's what my /etc/fstab looks like:

/dev/hda4 / reiserfs acl,user_xttr 1 1
/dev/hda1 /windows/C ntfs <blah blah...>
/dev/hda3 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts node=0620,gid=5 0 0
/dev/camcorder...
none /dubdomain subdomainfs noauto 0 0
/dev/hda3 /data2 reiserfs defaults 1 1
/dev/hda3 /data3 reiserfs defaults 1 1

So I run "fdisk -l /dev/hda", I see:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 30314 15277783+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/hda2 30328 31854 769608 82 Linux Swap/Solaris
Partition 2 does not end on cylinder boundary.
/dev/hda3 * 31855 85823 27200376 83 Linux
Partition 3 does not end on cylinder boundary.
/dev/hda4 85824 155040 34885147+ f W95 Ext'd (LBA)
Partition 4 does not end on cylinder boundary.
/dev/hda5 85824 155040 34885116 e W95 FAT 16 (LBA)



Additionally: When I run "TrueCrypt" under Windows and click "select device" I see this:

harddisk0 74.5gb (hda)
harddisk0/part1 C: 14.6gb ntfs (hda1)
harddisk0/part2 751m Linux Swap (hda2)
harddisk0/part3 25.9gb Linux (hda3)
harddisk0/part4 D: 33.3gb 0x0E (hda4)

So, if "Truecrypt" detects the partions correctly, the my SWAP disk is NOT hda3.
Also, that last line there worries me as I don't know what "0x0E" means but I am pretty sure it is not a filesystem type.

I would love to hear that all I have to do is run fsck --rebuild-sb on hda4 and edit /etc/fstab. But since I've hosed it up so far, I thought I would ask before mashing any more buttons.

Sincerely,
"DG"

aus9 05-28-2006 07:00 AM

its cool to admit being apprehensive...forgive me jumping in to offer advice when I am not a fan of Suse.

1) keep it simple.....save all data to burner if you can
ideally install MS with whatever partitions you want leaving free space for suse to find

2) do a clean install of suse therefore ignoring your question

3) download and burn yourself a live cd or DVD....of kanotix (cd) or knoppix (dvd) so you can run www.partimage.org to save images of your partitions.

4) if you have 2 dvd drives....one a burner you can run knoppix and burn the image while live....if you have enough ram you can run knoppix with the cheatcode
toram to remove dvd and use burner live

otherwise you save the images to a spare partition of big enough size or put the images on spare space of your partitions....then boot into suse and use your burner then delete those files if space is an issue.

5) I do this myself with my Mandriva....clean install...save images.....add software make new images etc


All times are GMT -5. The time now is 12:08 AM.