Jump to content

PopOs wont boot

Go to solution Solved by C2dan88,

Your root partition is sda1, so the correct command should be

sudo mount /dev/sda1 /mnt

 

Good day,

 

I have no idea what I am doing wrong. My pc wont boot.

I am trying to recover it.

I am following this guide.
https://support.system76.com/articles/bootloader/

As I am assuming the bootloader is to blame, I am a novice at linux so I can be wrong on that.

 

It says it is in legacy mode.

my sda goes up to 2. eda2. But that is [SWAP]. And I have no clue what that means.

so following the guide it says: sudo mount /dev/sda2 /mnt

But it won't mount. When I tried. it says "unknown filesystem type "swap""

 

This pc serves as my server, jellyfin, music etc. I don't mind loosing everything. But I would prefer not to. As It took a long time to get working how I like it.

What I did before this: 

(Now, I am not sure if I did this or not, but I think I did) I saw updates and installed them.

I edited the /etc/fstab so it can read specific folders in my NAS. I have done that. I noticed that I didn't name a file properly ( file name). So I corrected it. So, I restarted it so it can go into effect. I have done this many times before without any problem. ( I copy past and edit previous lines that work)

 

Any help will be appreciated it. 

I am barely a novice here. I understand windows better. So please go easy on me. thanks

Link to comment
https://linustechtips.com/topic/1503694-popos-wont-boot/
Share on other sites

Link to post
Share on other sites

4 hours ago, Stin6667 said:

my sda goes up to 2. eda2. But that is [SWAP]. And I have no clue what that means.

so following the guide it says: sudo mount /dev/sda2 /mnt

But it won't mount. When I tried. it says "unknown filesystem type "swap""

You need to mount the root partition (that contains your os) as /mnt,

What is the output of lsblk? You should have a partition with a / set as mountpoint.

Link to comment
https://linustechtips.com/topic/1503694-popos-wont-boot/#findComment-15915162
Share on other sites

Link to post
Share on other sites

2 minutes ago, C2dan88 said:

You need to mount the root partition (that contains your os) as /mnt,

What is the output of lsblk? You should have a partition with a / set as mountpoint.

I copied it from the terminal ( I put in a usb with pop-os ( closed the install program)

NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0
       7:0    0   2.1G  1 loop /rofs
sda    8:0    0 111.8G  0 disk
├─sda1
│      8:1    0 107.8G  0 part /media/pop-os/6417d639-3adc-4d8f-8d5b-e8cc80334dbc
└─sda2
       8:2    0     4G  0 part
sdb    8:16   1  14.3G  0 disk
├─sdb1
│      8:17   1   2.5G  0 part /cdrom
├─sdb2
│      8:18   1     4M  0 part
└─sdb3
       8:19   1  11.8G  0 part /var/crash
                               /var/log
sdc    8:32   1     0B  0 disk
sdd    8:48   1     0B  0 disk
sde    8:64   1     0B  0 disk
sdf    8:80   1     0B  0 disk
sdg    8:96   0 465.8G  0 disk
└─sdg1
       8:97   0 465.8G  0 part /media/pop-os/새 볼륨
sr0   11:0    1  1024M  0 rom  
zram0
     252:0    0   7.6G  0 disk

 

Link to comment
https://linustechtips.com/topic/1503694-popos-wont-boot/#findComment-15915165
Share on other sites

Link to post
Share on other sites

The I am going to input this :

for i in dev dev/pts proc sys run; do sudo mount -B /$i /mnt/$i; done
sudo cp -n /etc/resolv.conf /mnt/etc/
sudo chroot /mnt
apt install --reinstall grub-amd64 linux-generic linux-headers-generic
update-initramfs -c -k all
sudo update-grub
Link to comment
https://linustechtips.com/topic/1503694-popos-wont-boot/#findComment-15915168
Share on other sites

Link to post
Share on other sites

3 minutes ago, C2dan88 said:

Your root partition is sda1, so the correct command should be

sudo mount /dev/sda1 /mnt

 

I am assuming I input this next?

for i in dev dev/pts proc sys run; do sudo mount -B /$i /mnt/$i; done
sudo cp -n /etc/resolv.conf /mnt/etc/
sudo chroot /mnt
apt install --reinstall grub-amd64 linux-generic linux-headers-generic
update-initramfs -c -k all
sudo update-grub
Link to comment
https://linustechtips.com/topic/1503694-popos-wont-boot/#findComment-15915172
Share on other sites

Link to post
Share on other sites

54 minutes ago, C2dan88 said:

Your root partition is sda1, so the correct command should be

sudo mount /dev/sda1 /mnt

 

Thank you for your help. I fixed it, it wasn't the boot. It was when I changed the fstab,  I edited one of the other lines I wasn't supposed to

Link to comment
https://linustechtips.com/topic/1503694-popos-wont-boot/#findComment-15915216
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×