Subject: Re: failing debootstrap




On Mon, 23 Jan 2017, John Paul Adrian Glaubitz wrote:
> > So installation was completed ok and the beast rebooted but doesn't boot
> > (see
> > below the transcript from the screen). May be the reason is my obnoxious (I
> > guess I like that word that much to use twice) partitioning

> > 2 drives partitioned (RAID part + swap part) -> MD RAID1 -> LVM -> / (ext3)

> > So may be SILO just can't find/boot from such an abomination and I should
> > have
> > created a small boot partition for it first?

> Exactly. As long as you're using SILO, your boot partition should be on a
> plain
> and simple ext3 partition to avoid any issues.

> You can try to install grub2 from the "unreleased" repository manually during
> the installation by opening a shell from the debian-installer, chrooting into
> /target, running "apt update && apt install grub2". But I haven't tested this
> _at all_, so I can't tell if this works or not.

> However, any tests with the +sparc64 grub2 version from "unreleased" are
> highly
> appreciated and welcome on the list.

I was weak -- having seen some discussions on the list with grub2 issues I just
went first old SILO way. It was quite a bit painful to have drive
repartitioned since changes to the partitioning were not picked up by the
kernel unless I rebooted it and I was trying to split swap partition into boot
and swap two partitions.

And after installation succeeded and boot went on, the problem is as I
have reported on IRC:

I am enjoying partial success with installing sparc64 on ultrasparc T5140.
used installer cd from last may. interesting
glitch is that system when booted doesn't see any partitioning of the drives
-- only LVM volume for the / is available
this precludes enabling swaps and mounting /boot
here is how it looks:

[email protected]:/tmp# fdisk -l /dev/sd[ab]
Disk /dev/sda: 136.7 GiB, 146810536448 bytes, 286739329 sectors
Geometry: 255 heads, 63 sectors/track, 17848 cylinders
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: sun

Device Start End Sectors Size Id Type Flags
/dev/sda1 0 267193079 267193080 127.4G fd Linux raid autodetect
/dev/sda2 267193080 269153009 1959930 957M 1 Boot
/dev/sda3 0 286728119 286728120 136.7G 5 Whole disk
/dev/sda4 269153010 286728119 17575110 8.4G 82 Linux swap


Disk /dev/sdb: 136.7 GiB, 146810536448 bytes, 286739329 sectors
Geometry: 255 heads, 63 sectors/track, 17848 cylinders
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: sun

Device Start End Sectors Size Id Type Flags
/dev/sdb1 0 267193079 267193080 127.4G fd Linux raid autodetect
/dev/sdb2 267193080 286728119 19535040 9.3G 82 Linux swap
/dev/sdb3 0 286728119 286728120 136.7G 5 Whole disk
[email protected]:/tmp# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 9 Jan 26 09:36 2016-05-04-14-13-13-00 -> ../../sr0
lrwxrwxrwx 1 root root 10 Jan 26 09:28 70cd7f29-78c4-4907-9101-ffdc2a7c8582 ->
../../dm-0
[email protected]:/tmp# ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 10 Jan 26 09:28 dm-name-disks-debian -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jan 26 09:28
dm-uuid-LVM-SHQBSSnkYpgqZEVBwqjrJHNngR3xnryCTemrrQ6v4auqKYt71XZcNsFm1YDGoP4b ->
../../dm-0
lrwxrwxrwx 1 root root 9 Jan 26 09:28
lvm-pv-uuid-kk1bpa-GzIa-J2dr-Rg3s-goiP-67p6-BoOzAV -> ../../md0
lrwxrwxrwx 1 root root 9 Jan 26 09:28 md-name-megaspark:0 -> ../../md0
lrwxrwxrwx 1 root root 9 Jan 26 09:28
md-uuid-72005f8f:6bb79fc7:44b4d997:897c735a -> ../../md0
lrwxrwxrwx 1 root root 9 Jan 26 09:28 scsi-35000c5000f3e0453 -> ../../sda
lrwxrwxrwx 1 root root 9 Jan 26 09:28 scsi-35000c5000f3e9697 -> ../../sdb
lrwxrwxrwx 1 root root 9 Jan 26 09:36
usb-TSSTcorp_CD_DVDW_TS-T632A_B030B0D6311A-0:0 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jan 26 09:28 wwn-0x5000c5000f3e0453 -> ../../sda
lrwxrwxrwx 1 root root 9 Jan 26 09:28 wwn-0x5000c5000f3e9697 -> ../../sdb
[email protected]:/tmp# ls -ld /dev/sd*
brw-rw---- 1 root disk 8, 0 Jan 26 09:28 /dev/sda
brw-rw---- 1 root disk 8, 16 Jan 26 09:28 /dev/sdb


kernel: 4.5.0-2-sparc64-smp

any clues how to mitigate or what is possibly wrong?

PS please CC me in replies

--
Yaroslav O. Halchenko
Center for Open Neuroscience http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik



Programming list archiving by: Enterprise Git Hosting