Mount: can't find /dev/sda2/mnt in /etc/fstab

I'm trying to install Arch on a virtualbox virtual machine to become familiar with it before I install it on my main system. I've created 4 partitions, dev/sda1=1007kB boot partition, dev/sda2/= 4gb root partition which I am trying to mount, dev/sda3=swap which I've already configure and dev/sda4=1792MB Home which I haven't mounted. I've formatted sda2 and sda4 in ext4, but whenever I run
mount /dev/sda2/mnt
I get an error message saying
mount: can't find /dev/sda2/mnt in /etc/fstab
I've tried to view fstab with the less command but I only got a bunch of tildes (~). I'm fairly new to linux so keeping the explanations simple would be appreciated.

The above post should fix the immediate issue you are posting about - but there is another issue:
VEL0CITY wrote:dev/sda1=1007kB boot partition
Is that a typo?  Because that's not big enough for a boot partition.  The kernel itself is 3-4 times that size.  100MB is a common starting suggestion for /boot.  I can do with quite a bit less than 100MB, but not that much less.

Similar Messages

  • Why i can not find my login name in /etc/passwd?

    why i can not find my login name in /etc/passwd?
    Thank you~

    I want to ask the same question as steve359, where the multi-user accounts information stored?
    I saw mysql user in passwd, do you have any idea on what purpose of mac os ultilize mysql ?
    Thanks!

  • Cant mount /dev/sda2 /mnt

    hello,everybody
        I'm a beginner
        I want to install ArchLinux in my Dell notebook ,the sda1 had installed window xp,i want to make a dual system .
        I burn a Arch Linux ISO cd and enter the live system,then the questions are coming....
        After partitioning the drive by cfdisk tool,i cant mount the sda2 on the /mnt
        the error code list this :
            SQUASHFS error: Cant find  a SQUASHFS superblock on sda2
            EXT4-fs(sda2)     : cant find ext4 filesystem
    What's meaning ? I have partition the drive like this .Please other Linuxer help me  or tell me how to solve this problem
                               cfdisk
    name    flags    partType    fsType    size(MB)
    sda1                  Primary     ntfs         30000
    sda2     Boot      Primary     Linux       100
    sda3                   Primary     Linux       10000
    sda5                   Logical    Linux swap  2000
    sda6                   Logical      Linux        70000

    After you partitioned the drive, did you put filesystems on the partitions? Follow the steps in the Beginners' Guide, and use mkfs to put filesystems on the partitions. If sda2 is your boot partition, it's not the partition you want to mount at /mnt (you should mount your root partition there). Read the Guide.
    https://wiki.archlinux.org/index.php/Beginners'_Guide
    Last edited by 2ManyDogs (2012-12-16 04:48:46)

  • Firefox won't open, error message"can't find file at jar:file" etc.

    "Firefox cannot find file@jar:file:///program files/Mozilla Firefox/omni jar!/browser config. properties." I tried to download firefox and refreshed the desktop link and still no go. Cannot get firefox to browse.

    Se also:
    *http://kb.mozillazine.org/Preferences_not_saved
    *https://support.mozilla.org/kb/Preferences+are+not+saved
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • L can not find my playlist,play count, etc. on my new macbook itunes

    I have recently purchased a macbook. i have about 22G of music oon my external hard drive. I have moved about 6G of music from my external HD to my macbook. I can not figure out how to get my playlist, play counts and ratings on the macbook. I do not want to add all of my original itune music 22G because i will be away with my laptop and i need the space for other things. I am not able to bring the External HD. I hope someone can help me with this. thanks

    To transfer your iTunes metadata (tags, playcounts, playlists, etc) you need to locate and transfer the iTunes Music Library file from the original computer to the MacBook.
    The easiest way to do that is to export the iTunes Library data as an XML file, email to yourself, and save it on the MacBook's desktop.
    Now open iTunes and from the file menu, select Import, and navigate to the xml file, and select. This will add all of the data you are looking to put on the MacBook. However, you will get all of the songs - not just those that were added to the MacBook's hard drive. These will have the dreaded next to the name. If you can live with this, this is the easiest way to add your metadata.
    Lita

  • [SOLVED] Trying to install Arch Linux from harddisk using /dev/sda2

    Hi
    I'm trying to install Arch using my swap partition, following this wiki entry: https://wiki.archlinux.org/index.php/Ha … stallation
    What I've done:
    Downloaded ISO: archlinux-2010.05-netinstall-i686.iso
    Command: swapoff /dev/sda2
    Command: fdisk /dev/sda and changed the system type to 83 (Linux) on /dev/sda2
    Now it looks like:
    Command (m for help): p
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00017e5b
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 1060289 530144+ 83 Linux
    /dev/sda2 1060290 3164804 1052257+ 83 Linux
    /dev/sda3 3164805 105579179 51207187+ 83 Linux
    /dev/sda4 105579180 488392064 191406442+ 83 Linux
    It complained about device was busy, but it still seemed to have changed the system type, so I did partprobe as it wrote.
    WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
    The kernel still uses the old table. The new table will be used at
    the next reboot or after you run partprobe(8) or kpartx(8)
    Syncing disks.
    [root@swamp ~]# partprobe
    <no output>
    Next I did:
    [root@swamp ~]# dd if=archlinux-2010.05-netinstall-i686.iso of=/dev/sda2
    327680+0 records in
    327680+0 records out
    167772160 bytes (168 MB) copied, 4.3025 s, 39.0 MB/s
    [root@swamp ~]# mkdir /mnt/sda2
    [root@swamp ~]# mount /dev/sda2 /mnt/sda2
    mount: warning: /mnt/sda2 seems to be mounted read-only.
    [root@swamp ~]# ls -al /mnt/sda2
    total 150466
    dr-xr-xr-x 3 root root 240 May 16 15:54 .
    drwxr-xr-x 6 root root 4096 Nov 5 01:40 ..
    dr-xr-xr-x 3 root root 556 May 16 15:52 boot
    -r--r--r-- 1 root root 448 May 16 15:54 isomounts
    -r--r--r-- 1 root root 8192 May 16 15:54 overlay.sqfs
    -r--r--r-- 1 root root 154058752 May 16 15:54 root-image.sqfs
    And unmounted it again.
    The wiki page says to type: fsck -f /dev/sda2fsck, but I get no such file while trying to open sda2fsck.
    [root@swamp ~]# fsck -f /dev/sda2fsck
    fsck from util-linux-ng 2.18
    e2fsck 1.41.12 (17-May-2010)
    fsck.ext2: No such file or directory while trying to open /dev/sda2fsck
    The superblock could not be read or does not describe a correct ext2
    filesystem. If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
    Can I ignore the above and continue modifying grub?
    Thanks :-)
    Last edited by valvet (2010-11-08 14:49:07)

    fsck -f /dev/sda2fsck makes no sense because /dev/sda2fsck is not a deivce. If the wiki says that, then it is wrong. It's only doing a fsck anyway so probably not really needed. If you are just formatting th swap partition then use, mkfs.ext{234}.
    edit:
    from the wiki
    # fsck -f /dev/sda2fsck 1.40.8 (13-Mar-2008)
    e2fsck 1.40.8 (13-Mar-2008)
    Pass 1: Checking inodes, blocks, and sizes
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 3A: Optimizing directories
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information
    /dev/sda2: ***** FILE SYSTEM WAS MODIFIED *****
    /dev/sda2: 243/78936 files (8.2% non-contiguous), 310519/314880 blocks
    The first like should just be
    # fsck -f /dev/sda2
    Last edited by sand_man (2010-11-05 06:46:01)

  • Mount usb: cannot find device

    I have a compiled arch kernel. As there are some files in the /root, the user has enabled usb mounting.
    as dmesg shows it identifies two usbs. one is plugged to keyboard.
    I tried these commands, but they mounted folder is not my usb:
    mount -t auto /dev/sdb2 /mnt/media
    mount -t auto /dev/sda2 /mnt/media
    in /dev I cannot see anything except
    sda
    sda1
    sda2
    sdb
    sdb1
    sdb2
    what should I do to get my usb mounted?
    update: I am trying to mount the device on sdb1 and sdaxx, but it only mounts /root filesystem into /mnt/media. I also changed the format type of usb to ext4 as this is the only filesystem module loaded into the kernel.
    Last edited by saman_artorious (2013-06-01 07:14:19)

    How did you compile your kernel? Were you using modprobed_db and following the recommendations?
    https://wiki.archlinux.org/index.php/Mo … mendations

  • [Solved] Cant use second partition /dev/sda2

    sudo mount /dev/sda2 /mnt
    this works and i see lost+found of the /dev/sda2
    but i cant write or add folders to /dev/sda2
    "Error creating directory: Permission denied"
    and it disapears from the file manager side panel
    this happend when i was using thunar in xfce
    and again when using pcmanfm in openbox
    Last edited by Shockwave0 (2013-11-12 08:27:26)

    as user with sudo
    [shockwave@ArchLinux ~]$ lsblk -f
    NAME FSTYPE LABEL UUID MOUNTPOINT
    sda
    ├─sda1 ext4 aff5b1d2-0452-467f-81e7-dc3b2298101e /
    ├─sda2 ext4 backup b8c96528-bdce-4a7b-9d0b-b215e9332242 /mnt
    └─sda3 swap 1519cef9-0d8d-4ea4-b9d5-cc94b09cd59a
    sr0 iso9660 ARCH_201311 2013-11-01-08-10-26-00 /run/media/shock
    [shockwave@ArchLinux ~]$
    [shockwave@ArchLinux ~]$ mount
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    dev on /dev type devtmpfs (rw,nosuid,relatime,size=2023684k,nr_inodes=505921,mode=755)
    run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
    /dev/sda1 on / type ext4 (rw,relatime,data=ordered)
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
    cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
    pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
    cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
    cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
    cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
    cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
    cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
    cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
    cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
    mqueue on /dev/mqueue type mqueue (rw,relatime)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    tmpfs on /tmp type tmpfs (rw)
    configfs on /sys/kernel/config type configfs (rw,relatime)
    /dev/sr0 on /run/media/shockwave/ARCH_201311 type iso9660 (ro,nosuid,nodev,relatime,uid=1000,gid=100,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    /dev/sda2 on /mnt type ext4 (rw,relatime,data=ordered)
    Last edited by Shockwave0 (2013-11-07 01:14:05)

  • ISA R3 develop where can I find the classes

    Hi everybody,
    I want to modiy Java classes from the ISA R3 shop.
    I have unpacked the *.sar file which contains several ear files like b2b.ear, shopadmin.ear etc. I have unpacked this ear file. After that I have unpacked the corresponding war files. I thought after this steps I can find the Java classes. But there are only jsp and xml files.
    Where can I find the Java classes (Beans etc.)
    Is it correct that I have to unpack ths files with the jar.exe from the jdk and not with the ISA-BUILT tool?
    Kind regard
    Axel

    Hi Axel.
       I suggest you that checks the notes in the forum of   Customer Relationship Management (CRM), in that forum comes all about ISA.
       For modify ISA you have to download de ISA Build Tool, you make your changes and after that you install the new ear application.
       All the bean classes in this applications comes in jar´s but you can extended the classes.. for do it, read the SAP ISA Development Guide
    Good luck!
    Rewards
    Joshua

  • Mount: /dev/sda2 already mounted or /u01 busy

    Installed new OELinux4.7 with disk partitions but unable to to mount these
    [oracle@localhost sbin]$ ./fdisk -l (give no results)
    [root@localhost /]# mount /dev/sda3 /u01
    mount: /dev/sda3 already mounted or /u01 busy
    [root@localhost /]# cd /sbin
    *[root@localhost sbin]# ./fdisk -l*
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 19 152586 83 Linux
    /dev/sda2 20 2630 20972857+ 8e Linux LVM
    /dev/sda3 2631 5241 20972857+ 8e Linux LVM
    /dev/sda4 5242 60801 446285700 5 Extended
    /dev/sda5 5242 7852 20972826 8e Linux LVM
    /dev/sda6 7853 10463 20972826 8e Linux LVM
    /dev/sda7 10464 13074 20972826 8e Linux LVM
    *[root@localhost sbin]# df -h*
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol01
    20G 3.5G 16G 19% /
    /dev/sda1 145M 15M 123M 11% /boot
    none 3.0G 0 3.0G 0% /dev/shm
    /dev/mapper/VolGroup00-LogVol02
    20G 78M 19G 1% /home
    [root@localhost /]# mount /dev/sda2 /u01
    mount: /dev/sda2 already mounted or /u01 busy
    [root@localhost /]#

    On a system without LVM, a filesystem is created inside a partition. fdisk is used to list partitions on disks. Because the filesystems are inside the partitions, you can use the name of parition to mount it.
    On a system with LVM, a filesystem is created inside a logical volume, not in a partition. The partitions (fdisk -l) are used as physical volumes (pvdisplay), which are added to a volume group (vgdisplay), in which a logical volume can be created (lvdisplay). In the logical volume a filesystem is created. Because of this, only the logical volumes can be used to mount the filesystem.
    LVM adds an abstraction layer between filesystems and partitions. This is extremely handy because it's easy to add a disk (which is made physical volume) to a volume group which makes space available, which can be added to any logical volume in the volume group. When that's done, the filesystem in the logical volume can be enlarged with resize2fs, even online. Without LVM, it's not possible or very hard at best to do that.

  • How can we find out the disk which is used for a mount point

    How can we find out the disk which is used for a mount point?
    one of our mount point(/u03/oracle/prod) was using high I/O and this was causing slowness in the server.
    I can see a disk operation error in errpt at the same time as below. Wanted to check whether the mount point /u03/oracle/prod is using the disk hdisk31
    $errpt|more
    IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
    DXB78877 1125032114 T H hdisk31 DISK OPERATION ERROR
    OS version:AIX 6.1
    DB:11.2.0.2

    this is the output for cat /etc/filesystem
    /u02:
            dev             = /dev/fslv00
            vfs             = jfs2
            log             = /dev/loglv00
            mount           = true
            options         = rw
            account         = false
    /u01:
            dev             = /dev/fslv01
            vfs             = jfs2
            log             = /dev/loglv00
            mount           = true
            options         = rw
            account         = false

  • "Unable to find root device /dev/sda2"

    Hi!
    After an update - seemingly unsuccessfull - I get dropped into a recovery shell. The messages are:
    /usr/lib/suspend/resume: /usr/lib/libpng14: version `PNG14_0`not found (required by /usr/lib/libsplshrender.so.1)
    ERROR: unable to find root device '/dev/sda2'
    I read that now I'm supposed to run a LiveCD and chroot something... can someone please be a little more specific here? I don't want to lose that system and I have no idea why it doesn't find my disk anymore. I just performed a pacman4 uprade, but it seems pacman4 is rather immature, leaving a system unuseable like that.
    There is no sdaX in /dev any more. And I have very little experience with recovering Arch Linux. Until now
    Best,
    wishi

    I have some wild problems here
    1.) I used an Arch Live CD, did the chroot trick from the wiki (https://wiki.archlinux.org/index.php/Ch … nging_Root) and rebuild my initcpio (https://wiki.archlinux.org/index.php/Mkinitcpio). That ends successfull, and says it adds hooks for sata etc.
    -> But I had to remove the udev hook: http://bbs.archbang.org/viewtopic.php?pid=11304 - I guess that's the reason why it still doesn't find my /dev/sda2 - I'm not sure this is related though.
    2.) I ran pacman -Qk to ensure everything is sane. No errors.  I reinstalled linux and udev two minutes ago. No change.
    But I don't see how I can fix this. What's that voodoo with some udev hooks wandering around? The new kernel is 3.2.5-1 ARCH.

  • Where can i find the wall mount for 610 1201

    where can i find the wall mount for 610 1201

    c0rnel wrote:
    Can you give me more descriptions on what a 610 1201 is?
    Monitor? TV? What brand?
    Not having very much luck finding the product you're describing but i'm more than happy to assist you with this.
    I would assume since the OP is posting in the Touchsmart forum they are referring to the Touchsmart 610-1201 computer, no idea why you can't find it, the OP gave all the correct information.
    OP you're probably looking for the #VK554AA adapter, but you will still need an additional VESA wall mount.
    Google for "touchsmart wall mount adapter for vesa wall mount" and you'll see the many sources for this part.

  • Trying to put in a path and it can't find mount point

    I am installing an application that is asking for a [hostname]:path to application and I have tried putting in path such as /NBU/Path and it can't find it. I have tried the local hostname with the local path and that hasn't worked. I am able to go to that path of course and it works, but for some reason the application can't find it. Any thoughts would be appreciated. Is there some other syntax that I might use?

    What application are you having issues with? The path provided suggests this could be NetBackup or something which talks to NBU?? Read the installation instructions for the application in question as it will answer your question.
    The 'hostname:/path' is the format used for NFS (Network Filesystem) mounts. If the app is being installed locally then there should be no reason to use NFS.
    With the hostname being in square brackets it suggests it is optional.

  • Windows 2008 R2: SLES 11 Sp3 Guest converted from Vmware OVA to VHD, does not boot on Hyper-V: could not find /dev/sda4

    Hi
    I have a VMWare OVA file with Guest OS as SLES 11 Sp3. I have converted this file from OVA to VHD using Microsoft Virtual Machine Converter Solution accelerator. On first boot of this VHD on Windows Server 2008 R2 - Microsoft Hyper-V I get an error that
    "Waiting for device /dev/sda4 to appear..
    Cannot find /dev/sda4"
    I have not even booted this VM once on Hyper-V, and hence not installed any Linux integration Services yet.
    What could be the possible reason for this failure? Any suggested solution?
    Thanks
    Ashwini

    Easiest way (and also applies to Hyper-V 2012 R2):
    Ok, following properly (originally missed the step to mount the root directory of the converted VM as "/mnt" )
    http://nwrickert2.wordpress.com/2011/10/24/rescuing-susie/
    Then once chrooted
    mkinitrd -d /dev/sda2
    generated initrd from kdump WITH Hyper-V drivers & VM is usable!
    http://forums.opensuse.org/showthread.php/476780-boot-failure-mkinitrd-does-not-understand-that-dev-sda-has-become-dev-sde
    Can't believe that it was so painful to find the right info easily
    Just to finish it off, after converted machine boots fine, there is a small
    matter of removing tools & fixing networking as per links below:
    https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.upgrade.doc%2FGUID-6F7BE33A-3B8A-4C57-9C35-656CE05BE22D.html
    http://www.vcritical.com/2010/10/getting-eth0-back-in-a-sles-for-vmware-clone/
    All done!!!
    Also (unsupported), but works fine is SLES 11 SP1

Maybe you are looking for

  • How to avoid blank page in xml publisher report

    hi, i have a xml report, it shows 7 rows in one page. the question is: if there are just 7 rows , when previews with pdf, it will generate 2 pages, the first page shows 7 rows, and the second page is blank. anyone can help? you can get the rar file t

  • External Procurement with a Valuated Sales Order Stock

    Hi Experts, I read the following in SAP Help, For external procurement with a Valuated Sales Order Stock, system generates a purchase requisition from the sales order. If you are using a valuated sales order stock, the externally procured material is

  • Issue with hotspot and iPad

    I received my new (used) iPad2 last week and it seems to cause the TB to go flaky. When using the hotspot,  my laptop my connection is fine. However using the iPad, after 5 minutes, there is no response. When I look at the TB, what I see is the 3G ic

  • Drivers for Barcode Printers

    Hi, I'm currently working on trying to print a barcode from my MI application. Thanks to all posts found here, I was able to develop it. Now, when using the "emulation mode" in NWDS, I can see my barcode printed on the screen. I'm now trying to print

  • Check Register Printing

    Hi, A manual check run had been done , and the 'check register' had failed to have printed, therefrom.  Only the "Payment Summaries" had printed. I looked at the variant and printer name and everything seems to be fine. Can anyone tell me why check r