LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2015, 03:23 AM   #1
thinkrorbot
Member
 
Registered: Feb 2015
Location: Sydney, Australia
Distribution: Linux mint 17.1
Posts: 39

Rep: Reputation: Disabled
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
 
Old 03-16-2015, 10:01 PM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
So what was the partitions sda8/9 used for?

Post the output of 'fdisk -l'.
 
Old 03-17-2015, 12:26 AM   #3
thinkrorbot
Member
 
Registered: Feb 2015
Location: Sydney, Australia
Distribution: Linux mint 17.1
Posts: 39

Original Poster
Rep: Reputation: Disabled
sda8 and sda9 were meant to be my primary root and primary home partitions.
 
Old 03-17-2015, 01:50 AM   #4
thinkrorbot
Member
 
Registered: Feb 2015
Location: Sydney, Australia
Distribution: Linux mint 17.1
Posts: 39

Original Poster
Rep: Reputation: Disabled
Output of fdisk -l from live usb:
Code:
 Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  1953525167   976762583+  ee  GPT
Partition 1 does not start on physical sector boundary.
/dev/sdb1   *        8064    15265343     7628640    c  W95 FAT32 (LBA)
Doesn't say anything about sda8 or sda 9.

The etc/fstab file on the primary partition:
Code:
# /etc/fstab: static file system information.

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda8 during installation
UUID=cfec9f86-8662-424c-a566-1f8b96c7c67c /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=8E12-2FDB  /boot/efi       vfat    defaults        0       1
# /home was on /dev/sda9 during installation
UUID=fb3d2a9e-1d56-426d-8cb8-61340187a5b0 /home           ext4    defaults        0       2
# swap was on /dev/sda10 during installation
UUID=33a1753d-caea-40d9-877b-6aa3208e7168 none            swap    sw              0       0

Last edited by thinkrorbot; 03-17-2015 at 01:52 AM. Reason: Added etc/fstab file
 
Old 03-17-2015, 02:59 AM   #5
thinkrorbot
Member
 
Registered: Feb 2015
Location: Sydney, Australia
Distribution: Linux mint 17.1
Posts: 39

Original Poster
Rep: Reputation: Disabled
I think the partitions mount correctly but the system still won't boot.
 
Old 03-17-2015, 04:18 AM   #6
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB mount point is not shown in /dev entry point garryhk Linux - Software 3 12-12-2012 05:28 PM
Creating a new user in a mount point other than / rajesh_bu2001 Linux - Newbie 7 10-20-2010 08:54 AM
Creating a open Fuse mount point sethusubbiah Linux - Newbie 2 07-27-2010 01:19 PM
Auto mount USB drive to specified mount point after reboot smallbook Linux - Server 7 07-21-2010 04:40 AM
Make removable USB hdd mount at fixed mount point ctkroeker Linux - General 13 08-11-2009 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration