Results 1 to 10 of 10

Thread: How to format an USB disk with ext3

  1. #1
    Join Date
    May 2010
    Beans
    7

    How to format an USB disk with ext3

    I want to format an USB disk with ext3. If I do this with gparted, it will be formatted, but I cannot write to it. Reading is no problen, at least it shows the lost+found folder.

    I guess its a problem with access rights. It would be sufficient if user "papa" would have access on one ubuntu karmic machine. But I cannot solve this graphically.

    The purpose of the operation is to be able to copy my /home directory onto the USB disk as a backup, before I upgrade to the current version of Ubuntu.

    FAT32 is no option as some files are too long.

    Thanks for reading!

  2. #2
    Join Date
    Sep 2006
    Beans
    818

    Re: How to format an USB disk with ext3

    sudo rsync -ax /home/ /media/usbdrive

    Is how I usually do my backups.
    Your commitment to Freedom is measured by your tolerence for others doing things you disapprove.

  3. #3
    Join Date
    May 2010
    Beans
    7

    Re: How to format an USB disk with ext3

    Actually you are describing the copying step.

    I first have to learn how to format the drive that everybody can write to it. As it is an external disk, I can format it with gparted, but cannot write afterwards.

  4. #4
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: How to format an USB disk with ext3

    Quote Originally Posted by Lutz_NL View Post
    Actually you are describing the copying step.

    I first have to learn how to format the drive that everybody can write to it. As it is an external disk, I can format it with gparted, but cannot write afterwards.
    Just a thought. Your hdd ubuntu has users, permissions, etc.

    The cd live mode shouldn't. How about booting in live mode, plugging in the ext hdd and trying the format?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  5. #5
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: How to format an USB disk with ext3

    You can also open up Disk Utility and format it that way.

  6. #6
    Join Date
    May 2010
    Beans
    7

    Re: How to format an USB disk with ext3

    Quote Originally Posted by wojox View Post
    You can also open up Disk Utility and format it that way.
    It finally worked with booting from the internal hard disk, choosing the disk utility and then either ticking or unticking "taking ownership over filesystem".

  7. #7
    Join Date
    Aug 2008
    Beans
    47
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to format an USB disk with ext3

    if you wanted to backup your whole /home dir, why didn't you just 'tar jcvpf homeBackup.tar.bz2 /home' ?

  8. #8
    Join Date
    May 2010
    Beans
    7

    Re: How to format an USB disk with ext3

    Quote Originally Posted by chiwi View Post
    if you wanted to backup your whole /home dir, why didn't you just 'tar jcvpf homeBackup.tar.bz2 /home' ?
    The purpose of the operation is the upgrade from Karmic to current with upgrading from ext3 to ext4 and replacing of the harddrive.

    That's a lot for someone like me.

  9. #9
    Join Date
    Aug 2008
    Beans
    47
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to format an USB disk with ext3

    right, i believe it'd be better if you just tar'ed the directory, copy it (it's a single file) to whatever media and filesystem you want (USB stick, cd/dvd ), upgrade to Lucid and then untar the file.

    I would've done that, it's just a different approach.

  10. #10
    Join Date
    Feb 2007
    Location
    Slovenia
    Beans
    38
    Distro
    Kubuntu

    Re: How to format an USB disk with ext3

    Quote Originally Posted by Lutz_NL View Post
    I want to format an USB disk with ext3. If I do this with gparted, it will be formatted, but I cannot write to it. Reading is no problen, at least it shows the lost+found folder.

    I guess its a problem with access rights. It would be sufficient if user "papa" would have access on one ubuntu karmic machine. But I cannot solve this graphically.

    The purpose of the operation is to be able to copy my /home directory onto the USB disk as a backup, before I upgrade to the current version of Ubuntu.

    FAT32 is no option as some files are too long.

    Thanks for reading!
    you could just do
    Code:
    sudo chown <your_username>:<your_username> <your_mountpoint>
    then you have read/write access.


    br
    Linux is everywhere.

Bookmarks

Posting Permissions

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