You are not logged in.

#1 2024-04-20 10:42:36

bobhund
Member
Registered: 2016-10-25
Posts: 67

[solved] grub dead

I have a bunsenlabs one partition linux only comp, where grub is dead.

I get the following message unable to find LVM volume r2d2-vg/root

It repeats.

And I get the "message" (initramfs) followed by a prompt.


If somebody could help me either repair grub or alternatively how to get all my stuff on the harddisc off somehow I would be really grateful.


Bobhund

Last edited by bobhund (2024-04-21 23:48:34)

Offline

#2 2024-04-20 10:49:28

bobhund
Member
Registered: 2016-10-25
Posts: 67

Re: [solved] grub dead

Or actually the correct last line I get is,

/bin/sh: cant access tty;job control turned off (initramfs) followed by a prompt

Offline

#3 2024-04-20 11:04:43

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [solved] grub dead

Hopefully this link can help you out;

https://superuser.com/questions/410472/ … -shellcode


My Linux installs are as in my music; it s on Metal

Offline

#4 2024-04-20 11:06:53

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [solved] grub dead

There s also Rescatux iso which saved me several times im the past.

Edit: Thinking of it, I better grab the latest edition, it might help ome day, never know;

https://www.supergrubdisk.org/rescatux/

Last edited by altman (2024-04-20 11:10:50)


My Linux installs are as in my music; it s on Metal

Offline

#5 2024-04-20 12:45:42

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [solved] grub dead

Also, is that on a fresh install, after an update, it might also be helpful to know in order to why it happened.& the hardware also please.

Last edited by altman (2024-04-20 12:47:52)


My Linux installs are as in my music; it s on Metal

Offline

#6 2024-04-20 13:04:13

bobhund
Member
Registered: 2016-10-25
Posts: 67

Re: [solved] grub dead

Its a Dell d630 lattitude. I had it running for maybe a year with bunsenlabs. I dont know why it happened. I must admit I gave up when it happened and its been lying for about a year. But now my girl needs it for school.

Offline

#7 2024-04-20 13:09:53

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [solved] grub dead

Oh, bet that s the lack of updates as times went.

Did you try something with the above links !

Last edited by altman (2024-04-20 13:11:08)


My Linux installs are as in my music; it s on Metal

Offline

#8 2024-04-20 13:15:44

bobhund
Member
Registered: 2016-10-25
Posts: 67

Re: [solved] grub dead

I am trying the first super link. But it says I should change the content of a file. But I am not sure how to do it. I need some editor I guess? I tried nano, with no luck. Could you help me with how to change the content?

Offline

#9 2024-04-20 13:17:50

bobhund
Member
Registered: 2016-10-25
Posts: 67

Re: [solved] grub dead

And I am trying the rescatux

Offline

#10 2024-04-20 13:21:00

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,659

Re: [solved] grub dead

bobhund wrote:

If somebody could help me either repair grub or alternatively how to get all my stuff on the harddisc off somehow I would be really grateful.


Bobhund

Since it's been laying around for a year, do a clean install.

Boot with the latest Boron iso (I assume you still want to use BL).

In the live environment, start the terminal and make a directory to use as a mount point. Mount the partition/folder where your data is to this mount point.

Attach a thumb drive/external drive (should auto mount) and copy your data to it.

Once your data is copied over, you can shut down. This will unmount the hard drive, external drive etc ... and let you start clean with an installation (remove the external drive with your data)

Re-boot BL-Boron and start a clean install.


You must unlearn what you have learned.
    -- yoda

Offline

#11 2024-04-20 13:27:36

bobhund
Member
Registered: 2016-10-25
Posts: 67

Re: [solved] grub dead

PackRat wrote:

" start the terminal and make a directory to use as a mount point. Mount the partition/folder where your data is to this mount point. "

That part I do not really understand

Last edited by bobhund (2024-04-20 13:31:39)

Offline

#12 2024-04-20 13:29:39

bobhund
Member
Registered: 2016-10-25
Posts: 67

Re: [solved] grub dead

altman wrote:

Hopefully this link can help you out;

https://superuser.com/questions/410472/ … -shellcode

Trying to do this I found out the /etc/inittab does not exist on my installation.

Offline

#13 2024-04-20 13:34:23

bobhund
Member
Registered: 2016-10-25
Posts: 67

Re: [solved] grub dead

PackRat wrote:

(I assume you still want to use BL)

Definitely, its a dream on old computers.

Offline

#14 2024-04-20 14:27:36

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,659

Re: [solved] grub dead

bobhund wrote:
PackRat wrote:

" start the terminal and make a directory to use as a mount point. Mount the partition/folder where your data is to this mount point. "

That part I do not really understand

Boot the latest Boron release to a live session.

Open the terminal and create the directory you want to use as a mount point (name it whatever you want).

mkdir mydata

Then get the partition information with lsblk. In the terminal:

lsblk

this will list the partitions on your system. You have a single partition hard drive so it will most likely be sda1 (/dev/sda1, the dev part isn't shown with lsblk).

Mount the partition to the mount point you made. In the terminal:

sudo mount /dev/sda1 mydata

Partition sda1 (the partition with your data) will now be mounted to the Boron live session at mydata. You can now use thunar to copy the data from the partition to a removable media like a thumb drive.

Once all your data is copied, shut down and re-boot Boron. You can start the installer from the grub screen or check out the live session first.


You must unlearn what you have learned.
    -- yoda

Offline

#15 2024-04-20 20:31:09

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [solved] grub dead

bobhund wrote:
PackRat wrote:

(I assume you still want to use BL)

Definitely, its a dream on old computers.

This is so true.


My Linux installs are as in my music; it s on Metal

Offline

#16 2024-04-20 20:32:12

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [solved] grub dead

Bookmarked for future references ,Thx @PackRat.


My Linux installs are as in my music; it s on Metal

Offline

#17 2024-04-21 07:57:41

bobhund
Member
Registered: 2016-10-25
Posts: 67

Re: [solved] grub dead

PackRat wrote:
bobhund wrote:
PackRat wrote:

" start the terminal and make a directory to use as a mount point. Mount the partition/folder where your data is to this mount point. "

That part I do not really understand

Boot the latest Boron release to a live session.

Open the terminal and create the directory you want to use as a mount point (name it whatever you want).

mkdir mydata

Then get the partition information with lsblk. In the terminal:

lsblk

this will list the partitions on your system. You have a single partition hard drive so it will most likely be sda1 (/dev/sda1, the dev part isn't shown with lsblk).

Mount the partition to the mount point you made. In the terminal:

sudo mount /dev/sda1 mydata

Partition sda1 (the partition with your data) will now be mounted to the Boron live session at mydata. You can now use thunar to copy the data from the partition to a removable media like a thumb drive.

Once all your data is copied, shut down and re-boot Boron. You can start the installer from the grub screen or check out the live session first.



So far so good. However when I am mount point and try to mount the partition, I get the respons filesystemtyp LVM2_member unknown. It seems like the partition have been split in two sub-partitions, so that it both has a --vg-root   and a   --vg-swap_1.   Its the --vg-root I want to mount.

Offline

#18 2024-04-21 08:09:25

bobhund
Member
Registered: 2016-10-25
Posts: 67

Re: [solved] grub dead

And also th sda has an empty sda1 and sda2 and then the root and swap lies split under an sda5

Offline

#19 2024-04-21 09:30:45

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,659

Re: [solved] grub dead

bobhund wrote:

And also th sda has an empty sda1 and sda2 and then the root and swap lies split under an sda5

My bad, I may have totally over thought this.

In the Boron live session, if you open thunar, do the partitions show up in the side pane so you can mount them directly from thunar? If so, you can do the whole operation from thunar.

Based on your other post about LVM2 member unknown, something else is going on. Post the output of the lsblk command.


You must unlearn what you have learned.
    -- yoda

Offline

#20 2024-04-21 23:47:57

bobhund
Member
Registered: 2016-10-25
Posts: 67

Re: [solved] grub dead

PackRat wrote:

In the Boron live session, if you open thunar, do the partitions show up in the side pane so you can mount them directly from thunar? If so, you can do the whole operation from thunar.

It really was that simple, thankyou for the help.

Offline

Board footer

Powered by FluxBB