Page 4 of 4 FirstFirst ... 234
Results 31 to 38 of 38

Thread: 10.2 System crashed, advice please

  1. #31
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: 10.2 System crashed, advice please

    Ok lets find out what's there and what we can do with them.

    Boot off the Suse 10.2 install media and select on the start screen the option "rep[air system". that will statr a small live Linux.
    At the login prompt enter: root
    then enter: fdisk -l (thats letter l, not numeral 1)you should see a couple of Linux, maybe an ntfs if you have an old windows partition there too. Write down -- not in full -- but enought to say like this:
    hda1 is: 82 Linux swap / Solaris
    hda2 is: 7 HPFS/NTFS
    hda3 is: 6 FAT16
    hda5 is: 83 Linux
    hda6 is: 83 Linux

    Or whatever you get, abbreviate it like that and report it here.

    Then enter these two commands in sequence:
    Code:
    grub
    find /boot/grub/stage1
    It should report something like: (hd0,3). What does it say.

    Then enter this command:
    find /boot/grub/menu.lst
    What does it say in response?

    Then we'll see what we can do with that information.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  2. #32
    Join Date
    Jun 2008
    Location
    See above ^)^
    Posts
    29

    Default Re: 10.2 System crashed, advice please

    hda1 is: 12 Compaq diagnostics
    hda2 is: 83 Linux
    hda3 is: 83 Linux

    Code:
    grub
    find /boot/grub/stage1
    (hd0,1)
    Code:
    find /boot/grub/menu.lst
    (hd0,1)
    Late

  3. #33
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: 10.2 System crashed, advice please

    OK now we're cooking with gas. It looks like there's no swap partition. Never mind can live without that for a time. You said there might be a separate boot partition -- I don't think so. I think that sda1 is the root partition and that sda2 is the /home partition and that Grub is installed in the root partition. Let's check:

    Boot up the "rescue system" mode again and log in using name 'root". Then plug in external drive, a usb stick will be fine. Wait 15 seconds. Then mount it to get some information transferred to it. These commands will do that:
    Check that sdb has appeared on the system with this command:
    fdisk -l
    you should see this line additional to last time:
    /dev/sda1 etc etc etc etc W95 FAT32 (something like that).
    create a mount point and mount it:
    mkdir /tmp/sda1
    mount /dev/sda1 /tmp/sda1
    create mount points for hda1 and hda2 and mount them
    mkdir /tmp/hda1
    mount /dev/hda1 /tmp/hda1
    mkdir /tmp/hda2
    mount /dev/hda2 /tmp/hda2
    list the contents of the two drives hda1 and hda2 into text files on sda1 that you can read later:
    ls -l /tmp/hda1 > /tmp/sda1/hda1contents.txt
    ls -l /tmp/hda2 > /tmp/sda1/hda2contents.txt
    Likewise a list of the kernels and initrd's so on in the directory /boot/grub:
    ls -l /tmp/hda1/boot/grub > /tmp/sda1/grubcontents.txt
    And finally a copy of the damaged menu.lst:
    cp /tmp/hda1/boot/grub/menu.lst /tmp/sda1
    Then you can reboot and post the contents of the files
    hda1contents.txt
    hda2contents.txt
    grubcontents.txt
    menu.lst
    back here.

    That looks OK. That should provide information for the options to either reinstall and in which fashion or to try repairing grub
    Last edited by swerdna; 08-Jul-2008 at 19:37.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  4. #34
    Join Date
    Jun 2008
    Location
    See above ^)^
    Posts
    29

    Default Re: 10.2 System crashed, advice please

    I'll give it a try when I get off work. I won't be able to reply until early morning USA PST.
    Late

  5. #35
    Join Date
    Jun 2008
    Location
    See above ^)^
    Posts
    29

    Default Re: 10.2 System crashed, advice please

    When I tried to mount hda1, it said that it was a swap drive and couldn't do that. So I mounted hda2 & hda3 and ran all the code that you posted.

    When I copied the menu.lst it didn't actually copy over for some reason. I'll keep trying and see if I can get it.



    hda1contents.txt
    total 0

    hda2contents.txt
    total 120
    drwxr-xr-x 2 root root 4096 May 27 05:09 bin
    drwxr-xr-x 3 root root 4096 Jul 8 22:52 boot
    drwxr-xr-x 6 root root 4096 Jul 7 08:20 dev
    drwxr-xr-x 87 root root 12288 Jul 8 22:52 etc
    drwxr-xr-x 2 root root 4096 Apr 26 14:04 home
    drwxr-xr-x 12 root root 4096 May 27 05:14 lib
    drwx------ 2 root root 16384 Apr 26 14:03 lost+found
    drwxr-xr-x 2 root root 4096 Jul 8 22:52 media
    drwxr-xr-x 3 root root 4096 Jun 30 22:28 mnt
    drwxr-xr-x 5 root root 4096 Jun 16 00:46 opt
    drwxr-xr-x 3 root root 4096 Apr 26 14:04 proc
    drwx------ 22 root root 4096 Jul 5 13:08 root
    drwxr-xr-x 3 root root 12288 May 27 05:16 sbin
    drwxr-xr-x 4 root root 4096 Apr 26 14:04 srv
    -rw-r--r-- 1 root root 0 Jul 8 22:53 success
    drwxr-xr-x 3 root root 4096 Apr 26 14:04 sys
    drwxrwxrwt 51 root root 20480 Jul 8 22:52 tmp
    drwxr-xr-x 12 root root 4096 Apr 26 14:04 usr
    drwxr-xr-x 14 root root 4096 May 27 05:12 var
    drwxr-xr-x 3 root root 4096 Apr 26 14:04 windows

    hda3contents.txt
    total 32
    drwx------ 4 root root 4096 May 30 11:27 .Trash-0
    -rw-r--r-- 1 root root 7 Jul 1 01:15 .windows-label
    drwxr-xr-x 43 1000 users 4096 Jul 8 22:52 Jumuraa
    drwx------ 2 root root 16384 Apr 26 14:03 lost+found

    grubcontents.txt
    total 216
    -rw------- 1 root root 15 Jul 8 22:52 device.map
    -rw------- 1 root root 15 Jul 8 01:48 device.map.old
    -rw-r--r-- 1 root root 7552 Nov 25 2006 e2fs_stage1_5
    -rw-r--r-- 1 root root 7424 Nov 25 2006 fat_stage1_5
    -rw-r--r-- 1 root root 6688 Nov 25 2006 ffs_stage1_5
    -rw-r--r-- 1 root root 6688 Nov 25 2006 iso9660_stage1_5
    -rw-r--r-- 1 root root 8160 Nov 25 2006 jfs_stage1_5
    -rw------- 1 root root 530 Jul 8 22:52 menu.lst
    -rw------- 1 root root 509 Jul 8 01:48 menu.lst.old
    -rw-r--r-- 1 root root 6848 Nov 25 2006 minix_stage1_5
    -rw-r--r-- 1 root root 9216 Nov 25 2006 reiserfs_stage1_5
    -rw-r--r-- 1 root root 512 Nov 25 2006 stage1
    -rw-r--r-- 1 root root 104042 Jul 8 22:52 stage2
    -rw-r--r-- 1 root root 7040 Nov 25 2006 ufs2_stage1_5
    -rw-r--r-- 1 root root 6240 Nov 25 2006 vstafs_stage1_5
    -rw-r--r-- 1 root root 8904 Nov 25 2006 xfs_stage1_5
    Late

  6. #36
    Join Date
    Jun 2008
    Location
    See above ^)^
    Posts
    29

    Default Re: 10.2 System crashed, advice please

    Both the menu.lst and menu.lst.old files are blank. Or, at least, they show no contents when viewed with notepad.
    Late

  7. #37
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: 10.2 System crashed, advice please

    That's all pretty clear. The swap is hda1, next at hda2 is the root partition of Suse, and finally at hda3 is the home partition containing all the data. Grub looks to be a bit useless, indeed the litany of posts shows it might be best to reinstall openSUSE 10.2.

    I recommend that before you start the reinstall, you backup/copy your files on hda3 under the directory /Jumuraa to a usb drive, just in case. You can mount hda3 and sda1 in the "rescue system" mode as before and issue these commands to backup the data:
    mkdir /tmp/sda1/Jumarra
    mkdir /tmp/sda1/Jumarra
    cp -a /tmp/hda3/Jumarra/* /tmp/sda1/Jumarra/
    Then you can do the reinstallation being particularly careful not to accept the defaults for the partitioning. You can do it this way:
    Boot off the DVD installer --> proceed until you get the screen showing the "Installation Settings" with "partitioning" at the top. Click Change --> {Partitioning --> Create Custom partition Setup / Custom Partitioning for Experts --> :
    Highlight hda1 --> edit --> choose "format swap" and mount point = swap
    Highlight hda2 --> edit --> choose "format EXT3" and mount point = /
    Highlight hd32 --> edit --> choose "DO NOT FORMAT" and mount point = /home

    Then --> Accept --> follow the bouncing ball.

    Luck
    Swerdna
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  8. #38
    Join Date
    Jun 2008
    Location
    See above ^)^
    Posts
    29

    Default Re: 10.2 System crashed, advice please

    *sigh*

    Ah well, things happen eh? Thanks for the help. I've learned a bit at that. I'll back up everything and try a dual boot system. Then I won't have to mess around with wine at all. Not saying that wine did it, but that was the last program I used before it died.

    Thanks everyone.
    Late

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •