I did a fresh install of Lubuntu desktop (meant as a headless machine mostly), with formatting the disk via installer.
Apparently it didn't create a partition properly.. no GPT but msdos.
The machine wouldn't boot to the main drive unless i unplugged the 2nd SATA drive (for storage). Remained stuck on HP bios.
The system is currently running, i have SSH access, but unfortunately won't be physically accessing the machine for a while.
After hours of crawling the web for tutorials and discussions.. no success. I've only managed to trash the fstab, and obviously didnt make backup (not that it was any good..)
here are a few cmd returns :
blkid
/dev/sda1: UUID="1124c007-a2cd-4e2b-8942-06fca94f5f88" TYPE="ext4" PARTUUID="4ac38d5d-01"
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 596,2G 0 disk
└─sda1 8:1 0 596,2G 0 part /
df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1959572 0 1959572 0% /dev
tmpfs 403696 1220 402476 1% /run
/dev/sda1 614267120 5072576 577921748 1% /
tmpfs 2018476 0 2018476 0% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 2018476 0 2018476 0% /sys/fs/cgroup
tmpfs 403692 4 403688 1% /run/user/1000
tmpfs 403692 0 403692 0% /run/user/117
sudo parted -l
Model: ATA WDC WD6400BEVT-8 (scsi)
Disk /dev/sda: 640GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 640GB 640GB primary ext4
swapon -s returns nothing
How do i properly create a SWAP file with the current config (do i need one, how come the installer didn't make it?)
And most importantly what should the fstab look like please? So i can safely reboot the machine via SSH without fear of it not booting where it needs to and then the machine staying idle for weeks..
Thanks in advance !
(what will i need to run to be safe, regarding GRUB or else?)
ps: after install i had the following error (fwiw)
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that's on purpose, you may want to uninstall the
'crypsetup-initramfs' package in order to disable the cryptsetup initramfs
integration and avoid this warning.
.. removed cryptsetup and then ran update-initramfs -u