You are not logged in.

#26 2016-12-31 13:27:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Grub error

Doesn't happen unconditionally: https://wiki.archlinux.org/index.php/GR … _held_down
In case you've not yet managed to succesfully chroot your main system, post the output of "lsblk".

Offline

#27 2016-12-31 13:33:25

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Grub error

seth wrote:

Doesn't happen unconditionally: https://wiki.archlinux.org/index.php/GR … _held_down
In case you've not yet managed to succesfully chroot your main system, post the output of "lsblk".

NAME      MOUNTPOINT
sr0                  rom
sda                 disk
|-sda2            part /
|-sda3            part
'-sda1            part

Last edited by Dudl3y (2016-12-31 13:34:59)

Offline

#28 2016-12-31 13:41:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Grub error

Why is that crippled?
Try

lsblk -o NAME,SIZE,TYPE,LABEL,MOUNTPOINT

Offline

#29 2016-12-31 13:48:31

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Grub error

seth wrote:

Why is that crippled?
Try

lsblk -o NAME,SIZE,TYPE,LABEL,MOUNTPOINT

I removed the irrelevant things from the output because I'm writing everything myself with a shitty phone xD
NAME        SIZE          TYPE   LABEL MOUNTPOINT
sr0              1024M      rom             
sda              223.6G     disk 
|-sda2         218.1G     part                    /
|-sda3             5G         part
'-sda1           512M      part

Offline

#30 2016-12-31 13:50:11

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: Grub error

what's in sda3 and sda1? is sda1 /boot and sda3 a swap. maybe better take a photo and post a link to it

Offline

#31 2016-12-31 13:50:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Grub error

sda1 looks like your boot partition, so mount that to /boot in the chrooted system, but ensure it really *is* the boot partition.

Offline

#32 2016-12-31 13:51:02

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Grub error

ugjka wrote:

what's in sda3 and sda1? is sda1 /boot and sda3 a swap. maybe better take a photo and post a link to it

sda1 should be boot, sda3 is swap.

Offline

#33 2016-12-31 13:53:07

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Grub error

seth wrote:

sda1 looks like your boot partition, so mount that to /boot in the chrooted system, but ensure it really *is* the boot partition.

Not sure how. I did it wrong, Can you write the command?

Offline

#34 2016-12-31 13:56:55

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: Grub error

Assuming the information you gave is *CORRECT*

mount /dev/sda2 /mnt/
mount /dev/sda1 /mnt/boot
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash
grub-mkconfig -o /boot/grub/grub.cfg

I will hold your hand!!!!

Last edited by ugjka (2016-12-31 13:57:37)

Offline

#35 2016-12-31 14:05:17

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Grub error

ugjka wrote:

Assuming the information you gave is *CORRECT*

mount /dev/sda2 /mnt/
mount /dev/sda1 /mnt/boot
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash
grub-mkconfig -o /boot/grub/grub.cfg

I will hold your hand!!!!

mount /dev/sda1 /mnt/boot gives:
unknown filesystem type 'vfat'

Offline

#36 2016-12-31 14:08:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Grub error

From what kind of crappy live system exactly are you trying to do this?
Use the arch installation medium or grml.

Offline

#37 2016-12-31 14:08:49

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Grub error

seth wrote:

From what kind of crappy live system exactly are you trying to do this?
Use the arch installation medium or grml.

I'm not doing it in live...

Offline

#38 2016-12-31 14:10:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Grub error

You're apparently running some linux from some optical disc - and that linux is totally unsuited to do what you try. It won't work.

Offline

#39 2016-12-31 14:10:53

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: Grub error

Please don't answer with such oneliners, give us full info on what you are using and what are you doing.

Offline

#40 2016-12-31 14:12:06

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Grub error

seth wrote:

You're apparently running some linux from some optical disc - and that linux is totally unsuited to do what you try. It won't work.

I'm booting without any disk, any usb.

Offline

#41 2016-12-31 14:13:06

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: Grub error

What you are booting? What distro?

Offline

#42 2016-12-31 14:14:12

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Grub error

ugjka wrote:

What you are booting? What distro?

I'm booting normally, archlinux. No disk, no usb.

Offline

#43 2016-12-31 14:16:02

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: Grub error

Is this some kind of stand-up bit? I'm lost!!!

Offline

#44 2016-12-31 14:17:38

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Grub error

ugjka wrote:

Is this some kind of stand-up bit? I'm lost!!!

It's a @@@@@ng normal boot from memory saved in computer. How do you boot arch?

Offline

#45 2016-12-31 14:20:40

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: Grub error

Ok, sorry I was confused.

Now, I'm stuck on rootfs

I don't think you can fix this from recovery shell
You need live iso/usb

Last edited by ugjka (2016-12-31 14:21:19)

Offline

#46 2016-12-31 14:21:32

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Grub error

ugjka wrote:

Ok

Now, I'm stuck on rootfs

I don't think you can fix this from recovery shell
You need live iso/usb

Gonna get an usb and a live iso. I'll tell ya

Offline

Board footer

Powered by FluxBB