LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2006, 10:15 PM   #1
Dagny's Gimp
LQ Newbie
 
Registered: Mar 2006
Location: The 'Burbs.
Distribution: Back Track, OpenSuse... so far.
Posts: 1

Rep: Reputation: 0
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"

Last edited by Dagny's Gimp; 05-26-2006 at 10:18 PM.
 
Old 05-28-2006, 08:00 AM   #2
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software RAID: consequences of linux autodetect & persistent-superblock with reiserfs cbonar Linux - Hardware 0 01-08-2005 04:43 PM
/dev/hda4 Couldn't find ext2 superblock a10392 Linux - Hardware 1 11-17-2004 12:01 PM
PHPize not found -> reinstall? (Apache 2, PHP4, SUSE) parse_error Linux - Software 2 05-11-2004 12:04 AM
How do I reinstall GRUB after Ghost - SuSE cbjhawks Linux - General 5 04-05-2004 09:33 PM
unresolved reiserfs superblock on... SBarretDolph Linux - Newbie 2 01-23-2004 01:46 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration