Hi everyone.
I’m new to these forums and have only recently started using linux.
Problem
I booted up Opensuse on my Laptop (which also can dualboot into Windows Vista), however the screen where all the pre-startup checks continues to run and KDE desktop does not boot up.
It is not easy to write down all the errors which come up because the text scrolls so quickly, however a number of the lines have ‘failed’ next to them. Some examples include:
rm: cannot remove ‘/etc/nologin’ : Read-only file system
Could not allocate temporary files
Profile #### failed to load
Then it starts this loop of:
“time elapsed tifm_core: MemoryStick card detected in socket 0:0
tifm0: demand removing card from socket 0:0”
This repeats for about 2000secs, until it stops and I’m left with a command line where I’m able to see and browse the files on the partition. I have some really important files here and I’m desperate to copy them over on to another device, then I’d be happy to reformat the drive.
Attempted solutions
I tried using to fsdriver access the linux files from my windows partition. However when I do this I get the error ‘You need to reformat the disk before you can use it’.
Explore2fs only allows me to see the boot partition
No success with LinuxReader
Trying to rescue files using Linux LiveCD. My CD drive is a bit dodgy and not always works so I decided to boot off my USB stick. However when KDE tries to start I get the following error:
"No devices matching MBR identifier: 1 !
"rebootException: error consoles at Alt-F3/F4
“rebootException: reboot in 120sec…”
I have tried several avenues here, but none seem to work and am very downhearted because I really need to save these files.
Can anyone help out there please?
If you need any more info then please let me know.
Then it starts this loop of:
“time elapsed tifm_core: MemoryStick card detected in socket 0:0
tifm0: demand removing card from socket 0:0”
The obvious one would be to remove the USB card in question, I doubt that the answer is that simple, but is your system set to boot from USB before hard disk?
Hi Henry,
Thanks for your swift reply.
There is no USB attached during the boot, nor is the USB set to boot before the hard disk. Only when I try to run the Live CD (USB) then I override the boot order.
Like dvhenry says, check that the bios is booting from the live usb or that there is no other usb card in the pc… (BTW, the 11.3 live distro needs to be copied to usb using dd in linux or imagewriter - look at SDB:Live USB stick - openSUSE).
Also, try booting to fail-safe mode or just to runlevel 3 from the main install and see if this works.
From your post, it seems like opensuse was running, but something changed this…
What did you do that it changed?
The same happens with fail-safe mode.
I used Win32 disk imager to install the image onto the USB. I can try using SUSE Studio imagewriter for Windows.
What does runlevel 3 actually mean and how do I do this. (Sorry I’m a bit of a beginner!)
Yes it was running fine until I switched it off then switched it back on to start work again…puzzling,eh?
runlevel 3 is single user non graphic login mode. (Your usual kdm/gdm graphic login is runlevel 5.)
To start in level 3, just type a 3 at the grub login screen.
If it starts, you will at least be able to check the disks using fsck.
Trying to rescue files using Linux LiveCD. My CD drive is a bit dodgy and not always works so I decided to boot off my USB stick. However when KDE tries to start I get the following error:
"No devices matching MBR identifier: 1 !
"rebootException: error consoles at Alt-F3/F4
“rebootException: reboot in 120sec…”
Iwould seriously consider a new CD drive , they are cheap these days.
If you then still have problems I would run the comand ‘fsck’ on the partition.
Hi guys.
Ok, so I think the main error which is preventing it from booting is: “fsck failed. Please repair manually and reboot. The root file system is currently mounted read-only. To remount it read-write do: bash# mount -n -o remount,rw /”
Any idea how I do this?
On 2010-08-15 10:36, inside edge wrote:
>
> Hi everyone.
> I’m new to these forums and have only recently started using linux.
>
> PROBLEM
> I booted up Opensuse on my Laptop (which also can dualboot into Windows
> Vista), however the screen where all the pre-startup checks continues to
> run and KDE desktop does not boot up.
> It is not easy to write down all the errors which come up because the
> text scrolls so quickly, however a number of the lines have ‘failed’
> next to them. Some examples include:
>
> - rm: cannot remove ‘/etc/nologin’ : Read-only file system
> - Could not allocate temporary files
> - Profile #### failed to load
>
> Then it starts this loop of:
> “time elapsed tifm_core: MemoryStick card detected in socket 0:0
> tifm0: demand removing card from socket 0:0”
> This repeats for about 2000secs, until it stops and I’m left with a
> command line where I’m able to see and browse the files on the
> partition. I have some really important files here and I’m desperate to
> copy them over on to another device, then I’d be happy to reformat the
> drive.
>
But the system boots, I understand. The only problem is that it does in text mode. Then, copy those
files you need in text mode, then try to solve the other problem, which is probably video. Just read
the millions of threads about problems to start graphic mode in 11.3, then come back for questions.
If you need help with copying files in text mode, ask, too. But I have already answered that on
another thread, too.
And then, you can also try to solve the other problems during boot, those “failed” messages. We
would need to see the log (/var/log/boot.msg)
> ATTEMPTED SOLUTIONS
> 1) I tried using to fsdriver access the linux files from my windows
> partition. However when I do this I get the error ‘You need to reformat
> the disk before you can use it’.
> 2) Explore2fs only allows me to see the boot partition
Guess: because your files are in an ext4 partition. The current windows driver does not read that, I
understand.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))
I tried to copy the files to my USB by doing cp filename /media/ but it came up with a number of disks and none of them contained any files when I typed ls. I tried to copy to the windows partition but they were read-only.
Could you please tell me how to copy files, or show me the threads where you explained it.
On 2010-08-15 14:36, inside edge wrote:
>
> Hi guys.
> Ok, so I think the main error which is preventing it from booting is:
> “fsck failed. Please repair manually and reboot. The root file system is
> currently mounted read-only. To remount it read-write do: bash# mount -n
> -o remount,rw /”
> Any idea how I do this?
AH! Thats very different.
You have to run fsck on the root filesystem and act according to the messages. It is corrupt.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))
On 2010-08-15 15:06, inside edge wrote:
>
> If I run the above fsck command, it comes up with the fsck usage / help.
> I’m not sure how to run it exactly.
And we can not tell you the exact line because we don’t know your system.
Do:
head /etc/fstab
and copy here the line that mounts “root”. The one that has a lone “/” as second parameter.
Regarding copying files: You are in rescue mode, so the options are limited. The filesystem is in a
bad state, filecopy could fail.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))
Glad you got it fixed.
The message you got:
To remount it read-write do: bash# mount -n -o remount,rw /
should have given you the clue.
It is telling you that to remount the partition you need to type:
mount -n -o remount,rw /
at the command line.
Linux error messages are minimal, but usually give you some idea of what to do to fix the problem.
Its worth noting that if you run fsck on a partition that is mounted with read and write permission you will recieve the following
localhost:~ # fsck
fsck from util-linux-ng 2.16
e2fsck 1.41.9 (22-Aug-2009)
/dev/sda8 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)?
chose ‘n’ !, run fsck on a partition mounted read only.
“fsck failed. Please repair manually and reboot. The root file system is currently mounted read-only. To remount it read-write do: bash# mount -n -o remount,rw /”
Perhaps this is an error message that we should request to be made clearer?