You are not logged in.

#1 2012-11-04 12:16:41

Manuel
Member
Registered: 2012-11-04
Posts: 2

[Solved]Unable to find root devices '/dev/sda1'

Hello,

here's what happend. I ran pacman yesterday to install the latest updates and when I tried to boot today I got the following message:

Device '/dev/sda1' not found. Skipping fsck
Unable to find root devices '/dev/sda1'

Unfortunately I did not check what pacman was updating.

I am still able to boot using an old Fedora 13 Live CD.

Does anyone have a solution / links to a possible solution (I tried to search, but did not find anything).

As an alternativ my idea is to copy my /home folder, create a new Archlinux Live CD and just start over new...
But I seem to be unable to change permissions:
1. on the folders or
2. on the mount command to follow this article from the wiki (Full System Backup with tar)

My last backup was two weeks ago, so I won't loose a lot if I have to reformat everything. But it still would be nice if I could keep it...



Thank you for your help (or at least for reading this far),
Manuel

Last edited by Manuel (2012-11-05 06:37:33)

Offline

#2 2012-11-04 12:37:23

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [Solved]Unable to find root devices '/dev/sda1'

Had it been working for some time prior to the updates?

/var/log/pacman.log will always tell you what was updated.

Are you using systemd or initscripts?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2012-11-04 12:40:20

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [Solved]Unable to find root devices '/dev/sda1'


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-11-04 13:59:42

Manuel
Member
Registered: 2012-11-04
Posts: 2

Re: [Solved]Unable to find root devices '/dev/sda1'

I think that I am using initscripts, systemd is only the standard since october right?
The system had been working prior to the updates.

Looking at the log there are a lot of 'sh: post_upgrade: command not found' messages. This has (according to the log) never been the case before.

This might be a stupid question, but how do I change the permissions to do something when I can't use sudo? I tried to create a USB Live 'CD' to try SpiderD's suggestion but again I am informed that I am just a liveuser and am not allowed to do anything.


#log removed

Edit:
Update: I have now been able to create a Live CD of Archlinux and safe my data (which was not that difficult once I stopped panicking and started thinking...).
Unfortunately DSpiders suggestion still doesn't work because pacman is not working.

'failed to initialize alpm library'

Last edited by Manuel (2012-11-05 06:38:10)

Offline

#5 2012-11-05 09:49:05

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [Solved]Unable to find root devices '/dev/sda1'

I think you need to establish an internet connection first. Or you chrooted into a different architecture (i686 - x86_64).


Googling the error should also help.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#6 2012-11-05 11:43:08

MisterAnderson
Member
Registered: 2011-09-04
Posts: 285

Re: [Solved]Unable to find root devices '/dev/sda1'

Don't forget that "sudo" essentially means "su do". wink

If you can't get pacman functioning in your chroot, try using the "pacstrap" command (see beginner's guide) but use the argument "pacman" in place of "base" or "base-devel", then chroot. That will reinstall pacman for you. Make sure you use the right architecture!


D:

Offline

Board footer

Powered by FluxBB