Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Wombat102444y@iiii it has no cd drive and the linux usb stick I created is not booting. Not even a single boot option in bios.
-
There's nothing important on sda1 anyway, only the EFI stuff.
Try hitting F8 for a boot menu. Also, the boot order is maybe not under boot in the bios, but under devices. -
Wombat102444y@Fast-Nop yea sure. But it shows no boot option. I tried that. I also cant create new boot options in bios or change order or smth.
-
@ZeldaFan69-2 In the first image, what happens if you do what it says, using cursor up/down to select something?
In the second image, what's behind "delete boot options"? -
Is that with the USB stick put in?
Oh and under "Security", maybe you need to disable secure boot if it's enabled. -
Wombat102444y@Fast-Nop I had Linux Ubuntu installed on it before and actually I downloaded the same iso which was installed before.
-
The BIOS can be set to either UEFI, which is the modern way (and required to use secure boot), or the old way via CSM, which is classic Bios behaviour.
And maybe there's also something like "legacy USB" to activate. -
Wombat102444y@Fast-Nop I don't know wich bios is installed. I bought the laptop a few weeks ago... So probably the uefi one.
-
@ZeldaFan69-2 For sure it supports UEFI because it also can do secure boot, yeah, but many Bios can also do stuff the old way if you select that option, that's what CSM is for. Compatibility Something More.
On the other hand, you must have booted from USB stick before with these Bios settings to get Ubuntu installed in the first place, so that must have worked.
Maybe the USB stick hasn't been prepared properly, that's why it can't boot from that. -
@ZeldaFan69-2 But a Linux distribution is on the USB stick you are trying to boot from?
-
Wombat102444y@Fast-Nop I google a little and found this question. It looks like my problem.
https://superuser.com/questions/...
How do I create an ubuntu stick in uefi mode? -
@ZeldaFan69-2 The ISO should already support that if you just use dd for throwing the ISO on the stick. The problem is that you need a working Linux computer for that.
-
Wombat102444y@Fast-Nop i have a working (second) linux computer. After i killed my new notebook i dd-created a bootable USB device as you said.
-
@ZeldaFan69-2 And can you boot the second computer from that USB stick? Just to check whether it works in general.
-
@ZeldaFan69-2 And while you're at it, Mint-Cinnamon is the better Ubuntu anyway. ^^
-
@ZeldaFan69-2 Should be in FAT32 because the Bios won't read ext4. And bootable. And GPT partition, not MBR, because MBR won't work with UEFI.
-
@ZeldaFan69-2 Don't use dd for the SSD because that might even cost you the data partitions. I'd use gpartd.
-
Wombat102444y@Fast-Nop on the USB-Stick? I was unable to create a bootable stick witj gparted... 😬
I like the command line... -
@ZeldaFan69-2 No - first, you boot from the USB stick into the live system where you should have gpartd, and then you partition sda1 which will probably be sdb1 now because you boot from USB which will be sda.
-
And if that works, I mean booting into the live system, then Debian has a guide for reinstalling grub:
https://wiki.debian.org/GrubEFIRein... -
kiki353414yI’ve seen the avatar and I thought it was @rememberme. I refused to believe my eyes.
Ah, it’s not. Everything is okay. -
kiki353414yI don’t know how to recover a partition table. I’d plugged that hard drive in some other computer and tried to recover some files with analyzers, you know that apps that can recover deleted files.
-
ddit6034yMy debug actions for this kind of stuff which hopefully could help you:
On another PC, download Rufus and Ubuntu (20.04 is what I use)
Use Rufus to make the USB bootable with the Ubunti ISO (make sure to select legacy options and MBR)
Boot the PC from the stick and select Try ubuntu, when it is up, open Gparted and you can find out how to recover the partition from there
Once you have Gparted running and you can see the drive which has the deleted partition, a bit of Google and you should be able to recover it -
ddit6034yI have a decent amount of experience with losing and saving data:
https://devrant.com/rants/3487008/... -
@frogstair Nah, you get a veeeeery clear warning before being able to format with gparted and you can't run it without root access so for your normal users, this would never happen even close to easily.
-
@ZeldaFan69-2 @frogstair for the record, the "ARE YOU SURE YOU WANT TO ERASE THIS MEDIUM, ALL DATA ON IT WILL BE LOST" message from gparted has saved me a few times from fucking up already 😅
-
Wombat102444yI managed to rescue the important data and reinstalled the os afterwards.
I want to say thank you to all people involved and especially to @Fast-Nop.
Thank you guys. I was pretty hopeless
😵 help - I totally fucked up.
I managed to delete my /dev/sda1 partition with gparted while trying to format an USB-Stick...
Now my laptop not even trys to boot. It only opens BIOS without any boot options. I absolutely have no idea how to fix that shit. 😣😰
question
dumb user killed linux