Creating a mount point for a partition from Live USB
Hello all,
I was working through LFS 7.7 Chp 2.4 and mounted a wrong partition to /mnt/lfs. I did the following commands while trying to mount the correct LFS partitions: mount -v -t ext4 /dev/sda8 /mnt/lfs mount -v -t ext4 /dev/sda9 /mnt/lfs/home but I was supposed to mount sda11 and sda 12. Now the system won't boot past the splash screen. I tried booting into a live usb and typed in the following commands mount -v -t ext4 /dev/sda8 / mount -v -t ext4 /dev/sda9 /home but the system still won't boot past the splash screen. Both gparted and the partition manager for the installer don't show a mount point. How do I create a mount point from USB or is there another problem/solution? Thanks |
So what was the partitions sda8/9 used for?
Post the output of 'fdisk -l'. |
sda8 and sda9 were meant to be my primary root and primary home partitions.
|
Output of fdisk -l from live usb:
Code:
Device Boot Start End Blocks Id System The etc/fstab file on the primary partition: Code:
# /etc/fstab: static file system information. |
I think the partitions mount correctly but the system still won't boot.
|
fdisk only shows msdos partitions. Instead find partitions with 'parted -l'.
I think because of you mounting root, home and boot partitions and then mounting it for lfs you have perhaps overwriiten system files. Can you afford to do fresh Mint installation and building LFS after. |
All times are GMT -5. The time now is 02:06 AM. |