Community discussions

MikroTik App
 
poisons
just joined
Topic Author
Posts: 17
Joined: Wed Sep 18, 2013 3:50 pm

Boot failed after update from 6 to 7 chr on Digitalocean

Tue Aug 09, 2022 1:51 pm

My config
1. DigitalOcean droplet Basic / 1 GB / 1 vCPU /25GB
2. CHR 6.49.6 with very simple config, all work fine.
I tried to upgrade to stable 7.4.1 and my vm not booting after that.
In recovery console i got error
"ERROR: could not mount disk!
Please attach it somewhere else."
tempsnip.png
As far as I understand, this error is generated by the chr bootloader.

So, my question - how to upgrade without reinstall chr?
You do not have the required permissions to view the files attached to this post.
 
User avatar
dibatech
Frequent Visitor
Frequent Visitor
Posts: 94
Joined: Tue Apr 04, 2006 10:14 am

Re: Boot failed after update from 6 to 7 chr on Digitalocean

Tue Nov 01, 2022 7:21 am

Hi. Have same issue.
Had to reload V6
Cannot get V7 to work at all.
 
sid5632
Long time Member
Long time Member
Posts: 554
Joined: Fri Feb 17, 2017 6:05 pm

Re: Boot failed after update from 6 to 7 chr on Digitalocean

Wed Nov 02, 2022 12:24 am

I've ended up having to fsck the image on an external Linux machine on at least 2 occasions. It's also often happened when changing the size of the 'disk' and RouterOS fails to re-size it properly.
 
User avatar
vecernik87
Forum Veteran
Forum Veteran
Posts: 882
Joined: Fri Nov 10, 2017 8:19 am

Re: Boot failed after update from 6 to 7 chr on Digitalocean

Wed Nov 02, 2022 2:21 am

I had similar issue long time ago - turns out v7 didn't like multiple disks (I used one for ROS and second for theDude database). If you have multiple disks in your VM, try to remove them and leave only the primary one.
 
sokalsondha
just joined
Posts: 4
Joined: Thu Oct 12, 2023 3:23 am

Re: Boot failed after update from 6 to 7 chr on Digitalocean

Sun Oct 15, 2023 10:59 am

i spend over a night as i become mad.
now i see this thread.
same issue.. chr 6 on ubuntu 20 working fine.
upgrade from winbox to version 7
now its not booting.

is anyone solve the issue?
thanks
 
User avatar
MarcoBoschini
Trainer
Trainer
Posts: 5
Joined: Tue Feb 21, 2023 4:43 pm
Location: Italy
Contact:

Re: Boot failed after update from 6 to 7 chr on Digitalocean

Tue Oct 31, 2023 9:51 am

Hi, I had the same problem with a new installation.

I wrote a guide on how to edit CHR raw image partitions and then create a MikroTik CHR starting from an Ubuntu/Debian VPS.

The guide is here:
https://github.com/boschinimarco/mikrot ... -boot-edit
 
User avatar
sch
Frequent Visitor
Frequent Visitor
Posts: 76
Joined: Tue Feb 26, 2013 1:05 pm

Re: Boot failed after update from 6 to 7 chr on Digitalocean

Tue Oct 31, 2023 1:37 pm

CHR v6 has one partition but CHR v7 has two.

you need to edit the install script part where you mount an image with offset, e.g:
mount -o loop,offset=512 /tmp/chr.img
and change to:
mount -o loop,offset=$((512*65570)) /tmp/chr.img

Who is online

Users browsing this forum: No registered users and 3 guests