[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: updaing to grub on sparc64



On Sat, Jun 09, 2018 at 12:06:29PM -0400, Chris Ross wrote:
> Is it any harder than just
> "apt install grub-ieee1275", then "grub-install /dev/sdd"?  And for a sun
> disk with /boot on sdd1 and / on sdd2, should I target grub-install to
> sdd1 or sdd2 (assuming that /dev/sdd, despite my mention above, is likely to
> not work on sparc)?  And which partition should I point OBP to load?

Sorry for the noise, I should've just finished the first experiements first.
installing grub-common and grub-ieee1275 allowed me to run grub-install, but
each of "grub-install /dev/sdd" and "grub-install /dev/sdd1" yield approximately
the same result:

root@t5120:/# grub-install /dev/sdd1
Installing for sparc64-ieee1275 platform.
grub-install: warning: Discarding improperly nested partition (hostdisk//dev/sdd,sun1,sun2).
grub-install: warning: Discarding improperly nested partition (hostdisk//dev/sdd,sun1,sun4).
grub-install: warning: Discarding improperly nested partition (hostdisk//dev/sdd,sun1,sun5).
grub-install: error: hostdisk//dev/sdd appears to contain a sun partition map which isn't known to reserve space for DOS-style boot.  Installing GRUB there could result in FILESYSTEM DESTRUCTION if valuable data is overwritten by grub-setup (--skip-fs-probe disables this check, use at your own risk).
root@t5120:/# 

(the first three warnings occur when I select /dev/sdd1, and not when I select
/dev/sdd, but otherwise the same output)

This is a sun label disk, partitioned like so:

Partition Table: sun

Number  Start   End     Size    File system     Flags
 1      0.00B   98.7MB  98.7MB  ext2            boot
 2      98.7MB  30.1GB  30.0GB  ext4
 4      30.1GB  46.5GB  16.5GB  linux-swap(v1)
 5      46.5GB  147GB   100GB   ext4

(parted)                                                                  

sdd1 is /boot, 2 is /, 5 is /home.

>From the earlier conversation, I know it was tested using grub with sun labeled
disks.  Does there have to be special magic space at the front to make it work?

Thanks.


Reply to: