You are not logged in.

#1 2012-02-25 15:32:14

Shashwat
Member
From: India
Registered: 2011-05-08
Posts: 101

Pacman -Syu gave error / mtab removed

I was installing arch in new pc when after a successful fetch of pacman - Syu I get 2 errors.

1. /etc/mtab exists.
2. /etc/some file exists

Installation aborted.

Now I removed both the files and after doing some research I found out that I had to force the installation instead of deleting the file.

Now after deleting the partition I get error -> no partitions and all,

How do I generate mtab and continue with the installation /

Please do help.

Regards

Offline

#2 2012-02-25 16:39:33

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,510
Website

Re: Pacman -Syu gave error / mtab removed

Either symlink /etc/mtab to /proc/self/mounts or just disable diskspace checking in pacman.conf for this upgrade

Offline

#3 2012-02-26 13:32:43

Shashwat
Member
From: India
Registered: 2011-05-08
Posts: 101

Re: Pacman -Syu gave error / mtab removed

Thanks allan.  Will try that out.

In another PC I did an install and ran pacman -Syuf

after the successful upgrade I reboot, and after that every time I try to boot in arch or safe model.

I get the error.

cannot locate boot device /dev/sda2
cannot open tty.

The menu entry does point to right device (hd0,1) which is sda2 ?

What should  I do now ?

Offline

#4 2012-02-26 21:09:54

akspecs
Member
Registered: 2012-02-11
Posts: 179

Re: Pacman -Syu gave error / mtab removed

What you did was wrong.  It broke the system.  You can potentially put the mtab back to its original state from a live cd.

http://www.archlinux.org/news/filesyste … -required/

There are a lot of other older threads about this as well.

If you still get an error regarding some locale.sh file or something just temporily rename it for the upgrade.

If re-creating the mtab as it orginally existed seems complicated I would suggest reinstalling it correctly using the
>pacman -S filesystem --force
command and then renaming that locale.sh file that is likely to come up.

Last edited by akspecs (2012-02-26 21:13:40)

Offline

#5 2012-02-26 21:30:18

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Pacman -Syu gave error / mtab removed

I'll add -Syuf is usually not a good idea. If you have to force for a specific package, then only do so for that package, e.g. as akspecs gives in example.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#6 2012-02-27 13:19:50

Shashwat
Member
From: India
Registered: 2011-05-08
Posts: 101

Re: Pacman -Syu gave error / mtab removed

So instead of pacman -Syu I need to use the pacman -S filesystem --force ?

That will do a fine upgrade ?

Is there a way to put the file back using CD ?

Offline

#7 2012-02-27 13:38:32

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Pacman -Syu gave error / mtab removed

You shouldn't be getting these errors during an installation with the newest installation image. I would also suggest that you download and burn the newest install image.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#8 2012-02-28 09:00:34

akspecs
Member
Registered: 2012-02-11
Posts: 179

Re: Pacman -Syu gave error / mtab removed

lifeafter2am wrote:

You shouldn't be getting these errors during an installation with the newest installation image. I would also suggest that you download and burn the newest install image.

unless your doing a net install or archboot install this is unavoidable.

Offline

Board footer

Powered by FluxBB