You are not logged in.
I know I have booted into linux with this laptop before, but I am having some difficulties right now. I don't understand why.
https://wiki.archlinux.org/title/Dell_XPS_15_(7590)
I disabled RAID, enabled AHCI
Set it to thorough
disabled safe boot
The way that I made the live usb was to run the following:
sudo mkfs -t vfat /dev/sdc1
then I did:
sudo dd if=archlinux-x86_64.iso of=/dev/sdc1 status="progress"
and finally:
parted /dev/sdc1 set 1 boot on
I then restart the laptop with the usb in it, and i mash f12. It only ever shows the nvme, never the usb. I have tried two USB sticks, I even went to the store to get a new one.
For some reason, I have vague memories that I needed to do something weird with the liveusb, something about a efi boot partition but I have been trying to google this with no luck. Everything just says, make it a bootable fat32, use dd to put the iso on there and you're good. But that isnt what I remember and I cant find anything that jogs my memory. Can anyone assist?
Last edited by blah123213 (2023-01-22 14:07:12)
Offline
The ISO is meant to be written directly to the drive, not to a partition on the drive.
Offline
The ISO is meant to be written directly to the drive, not to a partition on the drive.
Should I have skipped the mkfs command then? Would dd have negated that anyway? Any suggestions? Thanks
Offline
Offline
the result was the same. When I put the usb in, and boot it is not an option. I dont think the issue was with dd or mkfs.
Offline
I suspect that this is mostly a UEFI issue.
I changed my usb to have 100 mib with the flag boot and esp set
there is also another partition on here where I put arch.
I do see an obscure thing in the UEFI boot order that says usb now but it never actually boots into it.
Here is my usb:
/dev/sdc1 (fat32) label efi
/dev/sdc2 (fat32) flag: msftdata
sudo fdisk -l
Disk /dev/sdc: 28.91 GiB, 31039324160 bytes, 60623680 sectors
Disk model: USB DISK 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D0853488-8500-4C8C-980C-7B8CA03DE4C9
Device Start End Sectors Size Type
/dev/sdc1 2048 206847 204800 100M EFI System
/dev/sdc2 206848 60622847 60416000 28.8G Microsoft basic data
sudo fdisk -l /dev/sdc2
sudo fdisk -l /dev/sdc2
[sudo] password for joe:
Disk /dev/sdc2: 28.81 GiB, 30932992000 bytes, 60416000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3fbe2d0c
Device Boot Start End Sectors Size Id Type
/dev/sdc2p1 * 64 1640447 1640384 801M 0 Empty
/dev/sdc2p2 1640448 1671167 30720 15M ef EFI (FAT-12/16/32)
am I creating this correctly?
Offline
You do not need to do any of this manually, you just need to dd the ISO directly to the block device i.e. /dev/sdc
Online
You do not need to do any of this manually, you just need to dd the ISO directly to the block device i.e. /dev/sdc
Yeah I was originally missing the esp flag. So what I did was, format it as FAT32, set the boot flag and esp flag
then I had to mount it weirdly because its FAT32, and its permissions structure is stupid:
sudo mount -t vfat /dev/sdc1 /media/FAT32 -o rw,uid=$(id -u),gid=$(id -g)
then I used 7z
7z x archlinux-x86_64.iso -o/media/FAT32
This worked. However I am running into a different issue now with the liveusb not being able to access the kernel. For now, I will close this thread. I will make another. Thanks everyone.
Offline
I suspect that this is mostly a UEFI issue.
No, it's a reading comprehension issue.
Offline
blah123213 wrote:I suspect that this is mostly a UEFI issue.
No, it's a reading comprehension issue.
No, it isn't.
The USB was not being picked up when I was exclusively doing dd. Then I tried doing what I said in the original post and that didn't work, and then I followed your link which gave similar advice.
It needed to be fat32 with the appropriate flags and then the USB got picked up.
Offline
Because, as I told you, the wiki told you, and V1del told you, you were dding to the wrong place.
Offline
Because, as I told you, the wiki told you, and V1del told you, you were dding to the wrong place.
I tried using dd to sdc as well. That's what I did when I read your link.
edit:
I looked at my console history. I had sdc1 there although I didnt realize it. I thought I removed it.
IT WORKS WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
Last edited by blah123213 (2023-01-22 04:40:50)
Offline
You could've also looked at your original post since you did include the mistake there as well. In any case, please mark as [SOLVED] by editing the title in your first post.
Online