how to mount file system from LIVE DVD
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 8 of 8
  1. #1
    Join Date
    May 2009
    Posts
    402

    how to mount file system from LIVE DVD

    I screwed up badly and need to simple fix a file in /boot which is on SDA2.

    I have brought up the live DVD for Fedora 24 and got my self into a Terminal.

    I can see /dev/sda2 and it shows up on "fdisk -l"

    It is of type EXT4. When I type

    mkdir /mnt/fu
    mount -t ext4 /dev/sda2 /mnt/fu

    it returns---->

    mount: /dev/sda2 is already mounted or /mnt/fu is busy

    It is definitely not mounted, and fu is not busy.

    I suspect that the live media is not allowing me to do a mount.

    How do I mount it ???
    - this is the only way I can recover the silly error that I made

    HELP!!!!

  2. #2
    Join Date
    Dec 2007
    Location
    Australia
    Posts
    1,859

    Re: how to mount file system from LIVE DVD

    mount: /dev/sda2 is already mounted or /mnt/fu is busy
    The error message is not definitive. I expect you've checked to see what the system thinks is mounted with the command: mount. I assume you've tried to cd to the partition you tried to mount, but failed. You could try and create another mount point, e.g.: mkdir mounts, and then try and mount /dev/sda2 on /mounts adjusting your command accordingly.

    Are you running f24 or just using the f24 live dvd on another fedora release?

    How do I mount it ???
    In any case, I think a specialised rescue cd will do the job you are referring to, something like systemrescuecd. Never failed for me.

  3. #3
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    427

    Re: how to mount file system from LIVE DVD

    Live Fedora DVD (or live iso on a usb drive) should work for this repair. As nsnbm says, first you should create a mount point as superuser. Then "# mount /dev/sda2 /mounts" should mount your sda2 partition (provided you created the mount-point /mounts). I don't believe you need the -t option followed by ext4.

  4. #4
    Join Date
    Nov 2008
    Posts
    415

    Re: how to mount file system from LIVE DVD

    What you outlined worked for me, with an F25 Live Workstation DVD, as root.

  5. #5
    Join Date
    Oct 2007
    Location
    Freedonia
    Age
    69
    Posts
    3,076

    Re: how to mount file system from LIVE DVD

    I presume that you've created /mnt/fu during the current live session, because otherwise it won't exist. What do you get if you run this command:

    ls /mnt/fu

    If nothing is mounted there, it's just a normal directory and should be empty. Also you could try this to find out where /dev/sda2 that partition is currently mounted:

    grep /dev/sda2 /etc/mtab

    If there's no output, it isn't mounted.
    Registered Linux user #470359 and permanently recovered BOFH.

    Any advice in this post is worth exactly what you paid for it.

  6. #6
    Join Date
    May 2009
    Posts
    402

    Re: how to mount file system from LIVE DVD

    OK, got it working:
    su
    mkdir /tmp/fu
    mount -rw -t ext3 /dev/sda1 /tmp/fu
    ... the rest depends on what you need to fix - I needed the grub.cfg file copied back ...

    Problem before was I thought it was sda2 not sda1.
    Also /tmp is a writable file system on the live DVD, most are not.
    And yes for the record, I am using Fedora 26 but got there with an upgrade so I used that last DVD I had (24).

    Thanks to all for your help.

  7. #7
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,399

    Re: how to mount file system from LIVE DVD

    As a memory aide:
    When I want to mount a partition on my C drive (the root), what I do is:
    sudo su
    cd /mnt
    mkdir sdc3 # I intend to mount the third partition of /dev/sdc
    mount /dev/sdc3 sdc3

    Occasionally I have to mount several partitions from different drives. Using the system's three letters for the drive and the partition number is a great memory aide.
    When I no longer need the mounted partition I make sure to clean up.
    umount sdc3
    rmdir sdc3
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  8. #8
    Join Date
    May 2009
    Posts
    402

    Re: how to mount file system from LIVE DVD

    Nice idea, but I would make the final command
    mount /dev/sdc3 /mnt/sdc3

    Just to remind myself that this is the absolute path!

    Thanks.

Similar Threads

  1. accessing file system using Live CD
    By saywot in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 31st March 2012, 03:51 AM
  2. Can I mount a swap file for F13 Live?
    By buddy1138 in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 13th June 2010, 09:12 PM
  3. Fix for USB: Live Fedora 10 cannot find file system
    By wised in forum Guides & Solutions (Not For Questions)
    Replies: 1
    Last Post: 30th November 2008, 04:29 PM
  4. How to mount ext3 file system in RAM?
    By viklahan in forum Using Fedora
    Replies: 4
    Last Post: 23rd October 2008, 11:57 PM
  5. 8e Linux LVM file system - How to mount it?
    By lothario in forum Using Fedora
    Replies: 5
    Last Post: 14th August 2007, 09:31 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •