Ventoy Forums
[SOLVED] After updating won't boot... - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: [SOLVED] After updating won't boot... (/showthread.php?tid=1893)



[SOLVED] After updating won't boot... - haimoura - 11-23-2021

Hi every one,

I m using ventoy to boot from 2 TB Toshiba exHDD
I have a secondary partition of 1.7 TB
the primary (ventoy) is 130 GB
the hidden partition is 34 MB
ventoy is installed on manjaro OS as application when updated I just plug my exHDD and run (ventoygui --qt5) and press update
in the last update  (1.0.61) I did the same .. rebooted my PC to check and it won't boot both leagcy and uefi

the uefi booting is showing some warring and code 12 not suitable medium or something similar

I have about 1 TB on the secondary partition so reinstalling is a difficult option
please advise

thank you for your time


RE: After updating won't boot - longpanda - 11-24-2021

1. Please run (assume that Ventoy USB is /dev/sdb)
Code:
dd  if=/dev/sdb of=1.bin bs=512 count=1

before update


and run
Code:
dd  if=/dev/sdb of=2.bin bs=512 count=1

after update.

And upload 1.bin/2.bin here.


RE: After updating won't boot - haimoura - 11-24-2021

(11-24-2021, 01:25 AM)longpanda Wrote: And upload 1.bin/2.bin here.
thank you for response
here is
1.bin
Code:
1+0 records in
1+0 records out
512 bytes copied, 0.000285896 s, 1.8 MB/s
and here is 2.bin
Code:
1+0 records in
1+0 records out
512 bytes copied, 4.9311e-05 s, 10.4 MB/s



RE: After updating won't boot - longpanda - 11-24-2021

(11-24-2021, 05:25 AM)haimoura Wrote:
(11-24-2021, 01:25 AM)longpanda Wrote: And upload 1.bin/2.bin here.
thank you for response
here is
1.bin
Code:
1+0 records in
1+0 records out
512 bytes copied, 0.000285896 s, 1.8 MB/s
and here is 2.bin
Code:
1+0 records in
1+0 records out
512 bytes copied, 4.9311e-05 s, 10.4 MB/s

Did you attach the 2 files? I can't find.
Please upload 1.bin and 2.bin as attachment here.


RE: After updating won't boot - haimoura - 11-24-2021

(11-24-2021, 06:27 AM)longpanda Wrote: [quote pid='4643' dateline='1637731549']

Did you attach the 2 files? I can't find.
Please upload 1.bin and 2.bin as attachment here.
[/quote]
sorry here are they


RE: After updating won't boot - longpanda - 11-24-2021

The MBR is completly overritten.
Please run (assume that the Ventoy USB is /dev/sdb,  if not you must change the command)
Code:
sudo sh Ventoy2Disk.sh -u /dev/sdb
if=/dev/sdb of=3.bin bs=512 count=1

after that upload the 3.bin and the output log here.


RE: After updating won't boot - haimoura - 11-24-2021

(11-24-2021, 01:24 PM)longpanda Wrote: The MBR is completly overritten.
Please run (assume that the Ventoy USB is /dev/sdb,  if not you must change the command)
Code:
sudo sh Ventoy2Disk.sh -u /dev/sdb
if=/dev/sdb of=3.bin bs=512 count=1

after that upload the 3.bin and the output log here.
there is no log file but this is the console output
Code:
**********************************************
      Ventoy: 1.0.61  x86_64
      longpanda admin@ventoy.net
      https://www.ventoy.net
**********************************************

Upgrade operation is safe, all the data in the 1st partition (iso files and other) will be unchanged!

Update Ventoy  1.0.61 ===> 1.0.61   Continue? (y/n)y
esp partition processing ...

Update Ventoy on /dev/sdd successfully finished.
the 3.bin is on attachment
thank you for your time

still no booting


RE: After updating won't boot - longpanda - 11-25-2021

When you use (ventoygui --qt5) to update. There will be a log.txt file, please update Ventoy agagin and upload the log.txt file.


RE: After updating won't boot - haimoura - 11-25-2021

(11-25-2021, 01:36 AM)longpanda Wrote: When you use (ventoygui --qt5) to update. There will be a log.txt file, please update Ventoy agagin and upload the log.txt file.
hi
here is it
Code:
sudo qemu-system-x86_64 -hda /dev/sdd1
no booting

edit:
I re-booted my pc and it is booting both legacy and uefi but not from qemu emultor

shall I mark solved!!


RE: After updating won't boot - longpanda - 11-25-2021

Quote:sudo qemu-system-x86_64 -hda /dev/sdd1

Why you use /dev/sdd1 as hda ?

I think you should use  /dev/sdd  not  /dev/sdd1 

sudo qemu-system-x86_64 -hda /dev/sdd