You are not logged in.
Pages: 1
Starting a new thread for the new installation - I've reinstalled Arch with rEFInd for the bootloader, and the LTS kernel, just that I get dropped into an emergency shell at boot, and can't really do nothing else but power off.
So far, I've installed the nouveau packages (mesa, lib32-mesa, xf86-video-nouveau), the base system (LTS kernel, nano, efibootmgr) and the bootloader rEFInd, after I finished the installation process, a reboot to the SSD and it drops straight into an emergency shell.
Help please?
Last edited by adr77 (2024-07-20 22:18:38)
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
Please share your installation process and full bootloader configuration.
The output of these commands from any live environment will probably help:
efibootmgr -u # or -uv if run from a Debian/Ubuntu system
blkid
parted --listThanks.
Jin, Jîyan, Azadî
Offline
Installation process was the same as the ArchWiki says, except for the LANG variable in /etc/locale.conf, now being en_IL.UTF-8, and locale.gen has en_IL.UTF-8, he_IL.UTF-8, ja_JP.UTF-8 and ru_RU.UTF-8 marked for the languages I write in (using Mozc for Japanese input).
Using rEFInd for the bootloader, I installed it with the system using pacstrap, then installed it to my boot partition (1G mounted at /boot) using "refind-install" as rEFInd's ArchWiki page suggest.
Gimme a sec to pull up a Linux Mint live environment, I'll run the commands you asked me to do.
Here's all the command in line as asked:
root@mint:~# efibootmgr -uv
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0005,0003,0002,0000,0080,0004,0001
Boot0000* GRUB HD(1,GPT,351028c3-4049-4119-903d-30f0d0988416,0x800,0x200000)/File(\EFI\GRUB\grubx64.efi)
Boot0001* OpenCore PciRoot(0x0)/Pci(0xa,0x0)/Sata(0,0,0)/HD(5,GPT,59356027-de6e-4b3d-967c-6f6437f90103,0x3b952800,0x8e800)/File(EFI\OC\OpenCore.efi)
Boot0002* ubuntu HD(1,GPT,acc8ce94-d3b5-47fb-b417-da9305c8d705,0x800,0x1dd000)/File(\EFI\ubuntu\shimx64.efi)
Boot0003* rEFInd Boot Manager HD(1,GPT,351028c3-4049-4119-903d-30f0d0988416,0x800,0x200000)/File(\EFI\refind\refind_x64.efi)
Boot0004* Windows Boot Manager HD(1,GPT,f3ac3291-b4fc-4a87-a819-92742b9fdbe6,0x28,0x64000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)䥗䑎坏S
Boot0005* rEFInd Boot Manager HD(1,GPT,d21dc006-3811-47bb-a8cb-21848cd25256,0x800,0x200000)/File(\EFI\refind\refind_x64.efi)
Boot0006* neon HD(1,GPT,29022539-9413-4786-b179-3cf4893f4d71,0x28,0x64000)/File(\EFI\neon\shimx64.efi)
Boot0080* Mac OS X PciRoot(0x0)/Pci(0xa,0x0)/Sata(0,0,0)/HD(2,GPT,ddf59c5c-22bf-4cab-bb03-0199b3f40ec2,0x64028,0x1dbfb0b0)
Boot0081* Mac OS X MemoryMapped(11,0xffcc4000,0xffffbfff)/FvFile(2b0585eb-d8b8-49a9-8b8c-e21b01aef2b7)CD
Boot0082* PciRoot(0x0)/Pci(0xa,0x0)/Sata(0,0,0)/HD(2,GPT,ddf59c5c-22bf-4cab-bb03-0199b3f40ec2,0x64028,0x1dbfb0b0)
BootFFFF* PciRoot(0x0)/Pci(0x6,0x1)/USB(3,0)/HD(1,MBR,0x6aae9122,0x1db000,0x52000)/File(\EFI\BOOT\BOOTX64.efi)
root@mint:~# blkid
/dev/sda1: UUID="F67A-B090" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="d21dc006-3811-47bb-a8cb-21848cd25256"
/dev/sda3: UUID="31cba423-9565-47ec-b75c-88e0a0934910" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="6dcdcb7e-fa95-4232-8e72-dc2537691abb"
/dev/sdb1: BLOCK_SIZE="2048" UUID="2024-01-09-13-26-32-00" LABEL="Linux Mint 21.3 Xfce 64-bit" TYPE="iso9660" PARTUUID="47a1bc8f-01"
/dev/sdb2: SEC_TYPE="msdos" UUID="659D-4988" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="47a1bc8f-02"
/dev/sdb3: LABEL="writable" UUID="714e47f5-c5a8-406b-b082-ceca798401b8" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="47a1bc8f-03"
/dev/loop0: TYPE="squashfs"
/dev/sda2: UUID="15ac0f01-256d-4a7e-a6c2-503fbd23b175" TYPE="swap" PARTUUID="87909af5-8409-4d55-b927-f592cf7b6c22"
root@mint:~# parted --list
Model: ATA Samsung SSD 750 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 1075MB 1074MB fat32
2 1075MB 9665MB 8590MB linux-swap(v1)
3 9665MB 250GB 240GB ext4Last edited by adr77 (2024-07-19 14:36:13)
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
You have several redundant boot entries pointing to non-existent EFI system partitions (efibootmgr shows the PARTUUIDs for each entry) so try removing them with efibootmgr. I would hazard that the spurious rEFInd entry (Boot003) is the bad apple here but you should probably remove all the unneeded entries.
Also apply the correct "flag" to the ESP:
# parted /dev/sda set 1 esp onYour motherboard does still seem to be able to boot from it but the partition GUID should be set correctly anyway.
Jin, Jîyan, Azadî
Offline
Can't seem to delete it. using the "-B" flag and this happens:
mint@mint:~$ sudo su
root@mint:/home/mint# cd
root@mint:~# efibootmgr
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0005,0003,0002,0000,0080,0004,0001
Boot0000* GRUB
Boot0001* OpenCore
Boot0002* ubuntu
Boot0003* rEFInd Boot Manager
Boot0004* Windows Boot Manager
Boot0005* rEFInd Boot Manager
Boot0006* neon
Boot0080* Mac OS X
Boot0081* Mac OS X
Boot0082*
BootFFFF*
root@mint:~# efibootmgr -B 0001
You must specify an entry to delete (see the -b option).
root@mint:~# can't understand what it means by "specify".
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
The man page shows how in the EXAMPLES section. Looking again at the output the correct partition is set as first in the boot order so the partition GUID is probably the problem here. Running my parted command should fix that.
Jin, Jîyan, Azadî
Offline
so I ran your command, and generated the fstab again, still does the same.
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
Okay, please describe in full exactly what happens during the boot process — what do you see on the screen?
Use `parted --list` again to check if the "esp" flag has actually been applied.
Last edited by Head_on_a_Stick (2024-07-19 18:55:00)
Jin, Jîyan, Azadî
Offline
There's gonna be an error message w/ indication as to *why* you're getting dropped into an emergency shell - that'll be rather important.
What changed and how did you move to refind reg. https://bbs.archlinux.org/viewtopic.php … 6#p2179506 ?
Offline
moved to rEFInd because it actually shows what it does on a Mac, unlike GRUB which does not have that without extreme tinkering.
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
Yeah, but you suggested you could not use refind "because mac"?
Also: error message before the emergency shell?
Offline
yeah I said that, then I read the ArchWiki entry on rEFInd, which does say you could install on Linux without macOS present.
lemme pull it up, I'll send a link of the image.
https://imgur.com/a/XPloqLQ should work now
Last edited by adr77 (2024-07-19 21:17:54)
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
What does your refind_linux.conf look like?
Because of the nouveau error, did you re-enable the bus master?
Offline
I have no idea what is the bus master, but here's a copy of my refind config file:
"Boot with standard options" "archisobasedir=arch archisosearchuuid=2024-06-01-09-07-18-00 nouveau.config=NvGspRm=1"
"Boot to single-user mode" "archisobasedir=arch archisosearchuuid=2024-06-01-09-07-18-00 single"
"Boot with minimal options" "ro root=UUID=31cba423-9565-47ec-b75c-88e0a0934910"meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
The first two are completely bogus (missing blanks) and also relate to the arch install iso.
Not sure why you went w/ "ro" for the last one, but from the install iso, what's the output of "lsblk -f"?
Edit: you remember how the nvidia GPU wouldn't show up at all a first because apple doesn't set it as busmaster?
https://bbs.archlinux.org/viewtopic.php … 1#p2180231
Edit #2: not sure how to do that w/ refind…
Last edited by seth (2024-07-20 11:58:59)
Offline
lsblk -f output (using LM live session):
mint@mint:~$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
squash 4.0 0 100% /rofs
sda
├─sda1
│ vfat FAT32 F67A-B090
├─sda2
│ swap 1 15ac0f01-256d-4a7e-a6c2-503fbd23b175 [SWAP]
└─sda3
ext4 1.0 31cba423-9565-47ec-b75c-88e0a0934910
sdb iso966 Jolie Linux Mint 21.3 Xfce 64-bit
│ 2024-01-09-13-26-32-00
├─sdb1
│ iso966 Jolie Linux Mint 21.3 Xfce 64-bit
│ 2024-01-09-13-26-32-00 0 100% /cdrom
├─sdb2
│ vfat FAT12 659D-4988
└─sdb3
ext4 1.0 writable
714e47f5-c5a8-406b-b082-ceca798401b8 10.9G 0% /var/log
sr0
mint@mint:~$ meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
At least the UUID matches, did you try to boot "Boot with minimal options" or one of the other entries?
Because you added "nouveau.config=NvGspRm=1" to one of the bogus ones.
Offline
ah, not yet, lemme try.
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
OK, it boots now, i removed the old config file and ran refind-install again, but now when I boot before it sends me into login (tty1, no desktops here yet) it warns me that the root device isn't configured in a read-write mode, and it may be fsck'd again later. what now?
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
Not sure why you went w/ "ro" for the last one
What wacko tutorial are you actually following here?
None of that nonsense is anywhere in https://wiki.archlinux.org/title/REFInd
Offline
I didn't? it was there to begin with. didn't touch anything except for the nouveau line.
update: added back the nouveau line and removed the "ro" in the beginning of the line, but it still says that message at the start of the kernel boot process.
Last edited by adr77 (2024-07-20 13:04:01)
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
From what beginning? Are you copying stuff from the install iso? Don't.
Add "rw" instead and read the refind wiki if you want to use that bootloader.
Offline
yea yea my bad, by "beginning" i mean this:
"Boot with standard options" "ro root=UUID=31cba423-9565-47ec-b75c-88e0a0934910"I have removed the "ro" part from this line, and added the nouveau line. I'll add "rw" to the same line and see what happens.
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
yea it works now, no more message. I'll get on installing Cinnamon as usual.
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
Pages: 1