-
tozhu
hello all, where is the define ram disk size of / file system, can we create more memory? how large can be
-
jbk
it's based on the size of the image itself.. basically something that's set when the .tgz is built as I recall
-
mongole
hi, I followed the instructions to boot from the zones pool, mut my system does not recognize the ssh as bootable device on startup. what have I missed?
-
mongole
piadm bootable says: zones ==> BIOS and UEFI
-
mongole
piadm list says:
-
mongole
PI STAMP BOOTABLE FILESYSTEM BOOT IMAGE NOW NEXT
-
mongole
20241128T004404Z zones/boot next yes yes
-
mongole
pure UEFI boot without CSM
-
danmcd
tozhu: JBK is correct. That's a platform build-time decision.
-
danmcd
In the smartos-live repo:
-
danmcd
tools/build_live:bi_root_size=325000
-
danmcd
That variable in tools/build_live can be tweaked to resize.
-
danmcd
@mongole ==> You meant to say SSD, right?
-
danmcd
Anyway... at first glance that does look like your zones pool should be bootable.
-
mongole
yes to ssd
-
danmcd
You did not share what `zpool list -v zones` looks like. Is it single disk? mirrors? I'm not sure.
-
mongole
single disk
-
mongole
zpool list -v zones
-
mongole
[root@smartos ~]# zpool list -v zones
-
mongole
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
-
mongole
zones 118G 1.63G 116G - - 0% 1% 1.00x ONLINE -
-
mongole
c1t1d0 118G 1.63G 116G - - 0% 1.38% - ONLINE
-
danmcd
Are there any other disks besides c1t1d0 ? Also, is this a HW-RAID sort of underlying disk (is it plugged into a HW-RAID HBA?!?), or a conventional NVMe, SATA, or jbod/directly-attached SCSI?
-
mongole
this is just a single msata disk
-
danmcd
`diskinfo` answers my question, sorry for not leading with that.
-
mongole
[root@smartos ~]# diskinfo
-
mongole
TYPE DISK VID PID SIZE RMV SSD
-
mongole
SATA c1t1d0 ATA TS128GMSA230S 119.24 GiB no yes
-
mongole
SCSI c2t0d0 Intenso Twist Line 58.59 GiB yes no
-
danmcd
ATA?
-
danmcd
Oh SATA.
-
danmcd
SOrry... not wide enough.
-
mongole
mSATA
-
danmcd
VID == ATA where I got confused.
-
mongole
-
danmcd
Last thing to check, please, and can you put it in a GIST as it'll be a bit large for pasting:... `prtvtoc /dev/rdsk/c1t1d0`
-
mongole
-
danmcd
Okay... this makes sense. I see you have what looks like a USB-key in your machine as well? Have you tried booting with it removed?
-
mongole
yes, that's the whole issue. I can only boot with the usb device plugged in. without it, there is no device to boot from. so my system just stops after uefi screen
-
danmcd
Second thing I'd try is to make sure your BIOS is allowing a boot from the M.2 slot
-
danmcd
Sometimes "boot from onboard M.2" is disabled.
-
danmcd
That's the only thing I can think of that'd cause a problem like this.
-
danmcd
Your SSD is properly laid out for UEFI booting (piadm AND the prtvtoc confirm that).
-
danmcd
Also, I hope your mobo isn't disallowing SATA boot from the M.2 slot, esp. if it's one of those NVME-or-mSATA slots?
-
mongole
well, it's a Fujitsu S920. I have 4 of these. there is no issue booting from the mSATA ssd in general. but after SmartOS setup, I loose all bootable devices in UEFI
-
mongole
FUJITSU Thin Client FUTRO S920
-
mongole
usually I just install a OS like DietPI, reboot, done
-
danmcd
That's really really weird.
-
danmcd
I did see this with some cursory google searching...
-
danmcd
-
danmcd
Aha! Maybe this?
-
danmcd
-
danmcd
tl;dr ==> disable "secure boot" and "CSM".
-
mongole
that's the first thing I always do. disable secure boot and csm :)
-
mongole
before I even plug a usb stick in
-
danmcd
Damn.
-
tsoome
does that system have uefi shell?
-
mongole
not sure. but I think so
-
mongole
but I have to leave now, my gf gets impatient :D
-
tsoome
if you can start it, you can try to browse the directory tree (efi/boot) and start bootx64.efi manually
-
mongole
yes I can start from USB
-
mongole
ok thanks for your help. I will stay here and be back in 2 days. I need to leave :/
-
tsoome
have fun:)
-
mongole
I will just keep the system running until then :D
-
tsoome
either it does not like file system (can not access it) or does not like the binary (should not be the case because you can boot from usb)