Re: 10.2 - boot problems after trying pen drive distro



Duncan Kennedy wrote:
I'm still very much a newbie with little knowledge of the command line
but trying to learn what not to do fast but the wrong way!

I have a SUSE 10.2 dedicated system - default clean installation, no
other OS.

I was trying to install Knoppix on a pen drive, following instructions
via the command prompt. It involved 2 partitions, one FAT and one ext2.
It was not a success as it hung the system just after the first splash
screen. That isn't important but I had to use the power switch and it
looks like I've screwed up Grub.

10.2 now gets part of the way through boot after "grub loading stage 2"
then stops with an error which looks as near as I can to this:

fsck failed for at least one file system (not /) Repair manually
post file system is already mounted read/write

earlier there is:

error stat() /dev/sda2. No such file or directory.
fsck.ex2 /dev/sda2 failed (status 0x8)
and then:
/sda2:
the superblock couldn't be read or does not describe a correct ext2. If
the device is valid . . . .

Now if I put the faulty pen drive in, the boot process continues in some
kind of diagnostic mode for a few lines and asks for root password. I
have no idea where to go from typing in the password and getting a "none
xxx" prompt.

Now I'm not surprised that sda2 can't be found - it is the second
partition on the pen drive and the only one using ext2 - main system is
ext3 if I remember.. If I leave the pen drive plugged in and reboot then
SUSE boots perfectly, the pen drive can be removed and everything works
fine from there on until the next boot.

I guess the boot process is insisting on the pen drive but I have no
idea what to do about that. Can anyone help please - in language for a
command line illiterate? (I have read another boot problem thread and
there are similarities but not for the same reason).


With the pen drive in place, boot the system.
Go to Yast > System > Partitioner
It should show the partitions on the pen drive.
If it does, it requires the pen drive to fully boot.
Go to the line with the pen drive partition(s) /dev/sdax and edit the
mount point (make it totally blank). Make sure it is the pen drive!
Then [Apply]. This removes it from fstab (which you could do manually
but it requires command line stuff and a non-gui editor).

Exit Yast and you can boot without the pen drive.

It may give you some problems in accessing that partition when you try
to boot from the pen drive.

John
.



Relevant Pages

  • [SLE] GRUB/RAID/Root Partition problem
    ... I am running SuSE 9.1 on a dual boot system with XP Home. ... /dev/hda7 35.1GB Linux RAID ... Last night after moving the computer's location, SuSE locked up on load. ... I have around 100GB of data on the RAID partitions that I ...
    (SuSE)
  • Re: [opensuse] Slow SuSE 10.2 on Fujitsu-Siemens L6820
    ... Everytime I boot the laptop it takes 8 mins to reach a point where I can ... partitions and rebooted only one partition was seen and this was the fat32 ... On one instance SuSE 10.2 took 15 mins to boot up to the graphical login. ...
    (SuSE)
  • Re: XP PC will not boot
    ... The smallest distro I've tried, is Damn Small Linux, at 50MB. ... and it won't boot on my computer. ... Knoppix, ... the source partitions can remain read-only while you're working. ...
    (microsoft.public.windowsxp.general)
  • Re: No System Restore/no Defrag/No adminstrator rights.
    ... I cannot even get into Safe Mode with F8 - all I get is the Boot choices. ... If System Restore fails at this point, ... You can scan all the partitions ... The initial scanning is quick enough, ...
    (microsoft.public.windowsxp.general)
  • Re: No System Restore/no Defrag/No adminstrator rights.
    ... I tried to DL an update and save to disc which it would let me do - I was hoping that a Restore Point might have been placed in System Restore. ... I cannot even get into Safe Mode with F8 - all I get is the Boot choices. ... You can scan all the partitions ... The initial scanning is quick enough, ...
    (microsoft.public.windowsxp.general)