You are not logged in.

#1 2012-09-11 09:55:57

bigshotjeev
Member
Registered: 2012-06-03
Posts: 28

Cannot boot into the system

Hi,

I know exactly from where my problem began. yesterday morning I did an NVIDIA & NVIDIA UTILS upgrade. I upgraded my version from 295 to 304 which is latest. After upgrading I did reboot and got the following error ;

Triggering unevents,
waiting 10 seconds for device '/dev/disk/by-uuid/e1a080e-cf49-45cb-b7d5-a137a157853a...
Error : device '/dev/disk/by-uuid/e1a080e-cf49-45cb-b7d5-a137a157853a'  not found
skipping fsck
Error : unable to find root device '/dev/disk/by-uuid/e1a080e-cf49-45cb-b7d5-a137a157853a'  
you are being dropped to a recovery shell.
Type 'exit' to try and continue booting.
sh : Can't access tty, job control turned off
[rootfs /]#

So I went through few similar topics from the Arch forums and accordingly I did what was told in those topics. I downloaded latest arch iso and created a usb bootable. I tried to boot from the usb and again I got the following error :-

Waiting for boot device
waiting 30 seconds for device '/dev/disk/by-label/Arch_071209...
Error : boot device didnt show up afte 30 seconds.
Fallign back to interactive prompt
you can try to fix the problem manually,
sh : Can't access tty, job control turned off
[ramfs /]#

Please tell me how should I solve this problem.
Thanks in advance.

Offline

#2 2012-09-11 10:01:42

ivi3
Member
Registered: 2005-10-06
Posts: 62

Re: Cannot boot into the system

Have you tried to boot any other bootable medium?

Offline

#3 2012-09-11 10:07:42

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,893
Website

Re: Cannot boot into the system

After you're dumped to the recovery shell, can you find your device in /dev? (either as /dev/disk/* or /dev/sd**)

If so, mount it to /new_root, then type exit.

Do you get any further in the boot process?


I find it worrying that your USB stick doesn't boot either.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2012-09-11 10:23:17

bigshotjeev
Member
Registered: 2012-06-03
Posts: 28

Re: Cannot boot into the system

Hi ivi3,

Have you tried to boot any other bootable medium?

No I havent yet tried. I will do it later today as I have to go out and buy an empty cd/dvd to write on.

Hi WorMzy,

 After you're dumped to the recovery shell, can you find your device in /dev? (either as /dev/disk/* or /dev/sd**)
If so, mount it to /new_root, then type exit.
Do you get any further in the boot process?

I find it worrying that your USB stick doesn't boot either.

When I am dumped to recovery shell my keyboard does not work. I have no other option but to reboot.

Any other suggestions can you think of? Should I format and reinstall?

Thanks

Offline

#5 2012-09-11 10:27:42

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: Cannot boot into the system

Ok, problem 1 looks like (in)famous issue, just chroot and run mkinitcpio -p linux, should suffice.

And don't worry about pendrive, it's probably just wrong label on it so system can't find it. How did you write .iso file to your pendrive? Go with unetbootin (safe and data on thumb stick will remain) or dd (with dd you need to be extra careful! also your thumb stick capacity is going to appear smaller (re-format it later) and all your data will go away, consider yourself warned but it always worked for me)

Offline

#6 2012-09-11 12:01:52

bigshotjeev
Member
Registered: 2012-06-03
Posts: 28

Re: Cannot boot into the system

Hi masteryod,

I thought I didnt have an empty CD until I found one lying in my closet. I burned Arch ISO on to the CD and this time it booted properly bringing me to normal root prompt.
Now please suggest what to do next. Do I run mkinitcpio -p linux

Offline

#7 2012-09-11 12:16:52

ivi3
Member
Registered: 2005-10-06
Posts: 62

Re: Cannot boot into the system

You have to mount your root filesystem and then chroot into it. Afterwards run mkinitcpio -p linux.

Offline

#8 2012-09-11 15:12:17

bigshotjeev
Member
Registered: 2012-06-03
Posts: 28

Re: Cannot boot into the system

You have to mount your root filesystem and then chroot into it. Afterwards run mkinitcpio -p linux.

Please tell me how to do it in detail as I am quite new to this.

My root directory is on /dev/sdb6

Thanks

Offline

#9 2012-09-11 15:25:15

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,893
Website

Re: Cannot boot into the system

Please search the wiki before asking how to do things..

https://wiki.archlinux.org/index.php/Chroot


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#10 2012-09-11 17:46:45

bigshotjeev
Member
Registered: 2012-06-03
Posts: 28

Re: Cannot boot into the system

Hi,

I tried to do it but went wrong some where :-

#mkdir /mnt/arch
#mount /dev/sdb6 /mnt/arch
#cd /mnt/arch

#mount -t proc proc proc/
#mount -t sysfs sys sys/
#mount -o bind /dev dev/
#mount -t devpts pts dev/pts/

#chroot /bin/bash
chroot:cannot change root directory to /bin/bash : not a directory

#mkinitcpio -p linux
==> Building image from preset : 'default'
   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Error : Specified kernal image does not exist: '/boot/vmlinuz-linux

==> Building image from preset : 'fallback'
   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S auto-detect
==> Error : Specified kernal image does not exist: '/boot/vmlinuz-linux

One question though does 'P' in proc and 'S' in sysfs & sys needs to be capital?

Thanks

Offline

#11 2012-09-11 17:59:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Cannot boot into the system

bigshotjeev wrote:

#chroot /bin/bash
chroot:cannot change root directory to /bin/bash : not a directory


Reread this section again https://wiki.archlinux.org/index.php/Chroot#Change_root - your error message will seem clearer...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2012-09-11 18:47:34

bigshotjeev
Member
Registered: 2012-06-03
Posts: 28

Re: Cannot boot into the system

Ok, I did

#chroot . /bin/bash 

still got the error

chroot:cannot change root directory to /bin/bash : not a directory

so I did

source /etc/profile

and it seems to have worked. Later I did

#mkinitcpio -p linux

but still getting the following error :

==> Building image from preset : 'default'
   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Error : Specified kernal image does not exist: '/boot/vmlinuz-linux
==> Building image from preset : 'fallback'
   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S auto-detect
==> Error : Specified kernal image does not exist: '/boot/vmlinuz-linux

Offline

#13 2012-09-11 18:57:35

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: Cannot boot into the system

Any chance you've got /boot on separate partition? You need to mount it too.

Offline

#14 2012-09-11 19:13:26

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,893
Website

Re: Cannot boot into the system

bigshotjeev wrote:

Ok, I did

#chroot . /bin/bash 

still got the error

chroot:cannot change root directory to /bin/bash : not a directory

This error doesn't make sense in this context, Are you sure you didn't get:

chroot: failed to run command ‘/bin/bash’: No such file or directory

?

That would mean that you ran the command from the wrong directory.


"source /etc/profile" will not change your root, and trying to rebuild the initrd from outside the chroot is futile.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#15 2012-09-12 03:38:53

bigshotjeev
Member
Registered: 2012-06-03
Posts: 28

Re: Cannot boot into the system

Hi,

Any chance you've got /boot on separate partition? You need to mount it too.

Yes I do have a boot.
I mounted boot to /mnt/arch/boot
and chroot worked perfectly but when I ran mkinitcpio -p linux I got the following error :-

 /usr/bin/mkinitcpio : line 209 : /dev/null : permission denied
==> Error : /dev must be mounted. 

Offline

#16 2012-09-12 07:36:14

bigshotjeev
Member
Registered: 2012-06-03
Posts: 28

Re: Cannot boot into the system

Hi,

Can anybody help me out in this.

Thanks

Offline

#17 2012-09-12 08:35:48

bigshotjeev
Member
Registered: 2012-06-03
Posts: 28

Re: Cannot boot into the system

Well I tried doing it one more time from start hoping I made mistake somewhere. Everything went fine up till Chroot. When I did mkinitcpio -p linux this time I got tones of errors like these :-

Error : module not found : 'hid_magicmouse'
Error : module not found : 'hid_belkin'
Error : module not found : 'hid_waltop'

The list went on and on and ended with the following error message :-

--> Running build hook : [fsck]
==>Warning : no modules were added to the image. This is probably not what you want.
==>Creating gzip initcipio image : /boot/initgramfs-linux-fallback.img

Well any suggestions?

Offline

#18 2012-09-12 08:38:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Cannot boot into the system

See here: https://bbs.archlinux.org/viewtopic.php?pid=1154371

Thread is unresolved but some diagnostics are included that will help you narrow down the issue...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#19 2012-09-12 12:00:32

bigshotjeev
Member
Registered: 2012-06-03
Posts: 28

Re: Cannot boot into the system

See here: https://bbs.archlinux.org/viewtopic.php?pid=1154371
Thread is unresolved but some diagnostics are included that will help you narrow down the issue...

Thanks for the link. I did the following but still get the same error.

pacman -S mkinitcpio
pacman -R linux
pacman -S linux

Please let me know if you have any other suggestion?

Offline

#20 2012-09-12 17:47:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Cannot boot into the system

bigshotjeev wrote:

Please let me know if you have any other suggestion?

You haven't folowed my last suggestion: that thread contains diagnostic methods suggested by falconindy to narrow down your issue. Work through them and try an identify what is the cause of all these command failures your are experiencing. Just reporting the failures doesn't help anyone...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#21 2012-09-12 19:02:01

natestar13
Member
From: Tampa, FL
Registered: 2012-01-16
Posts: 55

Re: Cannot boot into the system

#chroot . /bin/bash 

Try arch-chroot instead.  This is what the installation wiki states to use.


Machine:  Lenovo ThinkCenter M92 (M3209) - Inte i7-3770 CPU

Offline

#22 2012-09-13 18:12:20

bigshotjeev
Member
Registered: 2012-06-03
Posts: 28

Re: Cannot boot into the system

Hi,

Thanks for all the help you offered but I eventually did base install and everything is working fine now. 
I request Admin to close this thread.

smile

Offline

#23 2012-09-13 21:42:33

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Cannot boot into the system

You can mark it solved by editing the first post and appending [SOLVED] to the thread title


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB