You are not logged in.

#1 2012-03-08 20:46:36

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

[Solved] Cant boot the kernel after (--force) upgrade

Recently I screwed up my Arch and decided to reinstall it, so I did and first thing I ran is update.

Since my Installation CD is old about 6 months, I had to upgrade 80+ pckgs, and downloading finished and in *checking for file conflict* part I get error:

error: failed to commit transaction (conflicting files)
filesystem: /etc/mtab exists in filesystem
Errors occurred, no packages were upgraded.

I had this problem once before, and, as some of ppl on forums said I should upgrade with --force, I did so and it was alright, but now... After Upgrade I get this msg at boot>

...
Decompressing Linux... Parsing LEF... done.
Booting the kernel.
ERROR: Unable to find root device */dev/sda3*.
You are being dropped to recovery shell
     Type *exit* to try and continue booting
sh: cant access tty: job control turned off
[rootfs /]$ _

And I cant type *exit*, keyboard not work...
This was my second try, so I knew what will happen and I made /etc/mtab a backup which I replaced with afterupgrade one with hope it will run /sda3, but same problem...

Last edited by broi (2012-03-09 18:30:47)

Offline

#2 2012-03-08 20:49:15

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [Solved] Cant boot the kernel after (--force) upgrade

You should only --force update the "filesystem" package: http://www.archlinux.org/news/filesyste … -required/


ᶘ ᵒᴥᵒᶅ

Offline

#3 2012-03-08 21:01:20

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,176
Website

Re: [Solved] Cant boot the kernel after (--force) upgrade

nm, need to ltfr

Last edited by /dev/zero (2012-03-08 21:01:57)


Linux is NOT Windows | The Rootless Root
Toshiba Satellite i5-3230M 2.6GHz CPUs, 4Gb RAM, ArchLinux, wmii, nVidia GeForce GT 740M.

Offline

#4 2012-03-08 22:12:58

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

Re: [Solved] Cant boot the kernel after (--force) upgrade

litemotiv wrote:

You should only --force update the "filesystem" package: http://www.archlinux.org/news/filesyste … -required/

I just did that update seperately of other packages, then tried to update other without --force but getting this error>
initscripts: /etc/profile.d/locale.sh exists

So I get everything update with --force (but filesystem, its already update), and same shh problem.

Offline

#5 2012-03-08 22:13:42

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

Re: [Solved] Cant boot the kernel after (--force) upgrade

/dev/zero wrote:

nm, need to ltfr

What?? lol

Last edited by broi (2012-03-08 22:20:56)

Offline

#6 2012-03-08 22:16:11

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Cant boot the kernel after (--force) upgrade

For an explanation of the locale issue, take a look here.

However, if you're doing a fresh install anyways; I would suggest to use the netinstall image instead. That'll save you alot of these sort of problems.


Burninate!

Offline

#7 2012-03-08 22:19:39

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,176
Website

Re: [Solved] Cant boot the kernel after (--force) upgrade

broi wrote:
/dev/zero wrote:

nm, need to ltfr

What??

fyi, nm = "Never mind", ltfr = "learn to fucking read".

I wrote a post in haste, realised my mistake, "nm, need to ltfr" means please ignore me and get on with your life.


Linux is NOT Windows | The Rootless Root
Toshiba Satellite i5-3230M 2.6GHz CPUs, 4Gb RAM, ArchLinux, wmii, nVidia GeForce GT 740M.

Offline

#8 2012-03-08 22:23:01

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

Re: [Solved] Cant boot the kernel after (--force) upgrade

Gcool wrote:

For an explanation of the locale issue, take a look here.

However, if you're doing a fresh install anyways; I would suggest to use the netinstall image instead. That'll save you alot of these sort of problems.

Thank you, ill follow ur advice.

Offline

#9 2012-03-08 22:24:36

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [Solved] Cant boot the kernel after (--force) upgrade

broi wrote:
Gcool wrote:

For an explanation of the locale issue, take a look here.

However, if you're doing a fresh install anyways; I would suggest to use the netinstall image instead. That'll save you alot of these sort of problems.

Thank you, ill follow ur advice.

In this case, don't do a fresh netinstall though, removing locale.sh is the only thing you have to do to get your system back online.


ᶘ ᵒᴥᵒᶅ

Offline

#10 2012-03-08 22:26:43

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

Re: [Solved] Cant boot the kernel after (--force) upgrade

litemotiv wrote:
broi wrote:
Gcool wrote:

For an explanation of the locale issue, take a look here.

However, if you're doing a fresh install anyways; I would suggest to use the netinstall image instead. That'll save you alot of these sort of problems.

Thank you, ill follow ur advice.

In this case, don't do a fresh netinstall though, removing locale.sh is the only thing you have to do to get your system back online.

Okay, I will try it now smile

Offline

#11 2012-03-09 13:27:22

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

Re: [Solved] Cant boot the kernel after (--force) upgrade

Okay, this what I did after FRESH install. this is solutions thanks to u guys

-There was 80+ pckgs to upgrade, I upgraded ONLY filesystem with --force (and reboot to check if it will boot)
-After successfull boot,tried to upgrade others but problem was locale.sh
-I removed it, upgraded again and it was all ok now.

Installed X etc. etc. It just works as it should, thanks alot!! smile smile

Offline

Board footer

Powered by FluxBB