I re-entered rescue mode and executed a shell in /dev/sda2 # chroot / # grub-ofpathname /dev/sda2 /pci@8000/pci@4/pci@0/pci@0/scsi@0/disk@w0,0
Seems that this path should be the right one, but still boot fails with "Can't open boot device" John Paul Adrian Glaubitz <[email protected]> 于2019年6月3日周一 下午1:50写道: > On 6/3/19 4:01 AM, Sonnie Hook wrote: > > 3. {0} ok .properties > > > > gpt > > > > supported-labels gpt > > > > sun > > > > mbr > > > > name disk-label > > > > > > 4. # archdetect > > sparc64/sun4v_gpt > > Okay, so this part works correctly then. > > > 5. # partmap /dev/sda > > gpt > > > > 6. # parted /dev/sda print > > > > Model: LSI Logical Volume (scsi) > > > > Disk /dev/sda: 599GB > > > > Sector size (logical/physical): 512B/4096B > > > > Partition Table: gpt > > > > Disk Flags: > > > > > > > > Number Start End Size File system Name Flags > > > > 1 1049kB 10.5MB 9437kB bios_grub > > > > 2 10.5MB 533GB 533GB ext4 > > > > 3 533GB 599GB 66.4GB linux-swap(v1) > > The partitioning part as well. > > > 7. ` grub-ofpathname /dev/sda2` this command doesn't exist. > > This command is inside the /target changeroot and only after the GRUB > installation step has been called. So, you need to perform the installation > until the end, then not choose to reboot but go back and execute a shell. > > Then run the chroot command: > > $ chroot /target > > Then run grub-ofpathname inside that chroot. > > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - [email protected] > `. `' Freie Universitaet Berlin - [email protected] > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >

