PDA

View Full Version : [ubuntu] problem mounting ext3 partition


drewm1732
April 2nd, 2009, 10:02 PM
Hey everyone, I'm trying to mount a partition i created named sda3 which has a ext3 file system and I'm using Ubuntu 8.04. I'm an undergrad computer science major and have been using an Ubuntu system for a while but I realized that I don't really know much about the way a linux system works. Thats when I stumbled upon a site, and a book, called linux from scratch that guides you through building a lightweight linux system. I obviously got through partitioning the drive but when it comes to mounting the instructions say the commands are

create a mount point and assign it the LSF variable:

export LFS=/mnt/lfs

create the mount point and mount the LFS file system:

mkdir -pv $LFS
mount -v -t ext3 /dev/sda3 $LFS

when i run the mkdir command it says there is a missing operand, does anyone know how the code should really be implemented?

dmitriyp13
April 2nd, 2009, 10:29 PM
What is the exact error message?

drewm1732
April 2nd, 2009, 10:32 PM
it says mkdir: missing opperand

dmitriyp13
April 3rd, 2009, 07:10 PM
It should be created. The above syntax is correct but for some reason mkdir thinks that part of the command is missing.