<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Formating &amp;amp; mounting USB disk in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258617#M52606</link>
    <description>Finally I managed to get it working! all thanks to cfdisk and fdisk (GUI interface). With #cfdisk /dev/sdb &lt;BR /&gt;I changed the type to linux and then using the partitioner (I believe is fdisk behind the YAST interface) I changed the type again to ext2 and formatted.&lt;BR /&gt;I think it mounted automatically after that, so unmounted changed the entry in fstab replacing ntfs with ext2, and re-mounted.&lt;BR /&gt;I can write, changed ownership, etc.&lt;BR /&gt;&lt;BR /&gt;So we'll see how the backup goes...</description>
    <pubDate>Wed, 13 Oct 2010 14:36:55 GMT</pubDate>
    <dc:creator>Oscar Garcia</dc:creator>
    <dc:date>2010-10-13T14:36:55Z</dc:date>
    <item>
      <title>Formating &amp; mounting USB disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258613#M52602</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;I had a WesternDigital disk mounted as vfat in a SLES 10, but as I was using it to backup files, I had the inconvenient of all the files being saved as root.&lt;BR /&gt;Somewhere I found that if I formatted the disk as NTFS I would be able to assign permissions.&lt;BR /&gt;Well I formatted in an XP box, but now I can not mount it:&lt;BR /&gt;# mount /dev/sda /opt/backup&lt;BR /&gt;mount: /dev/sda: can't read superblock&lt;BR /&gt;&lt;BR /&gt;More info:&lt;BR /&gt;# lsusb&lt;BR /&gt;Bus 005 Device 002: ID 03f0:1027 Hewlett-Packard&lt;BR /&gt;Bus 005 Device 003: ID 03f0:1327 Hewlett-Packard&lt;BR /&gt;Bus 005 Device 001: ID 0000:0000&lt;BR /&gt;Bus 006 Device 003: ID 1058:1003 Western Digital Technologies, Inc.&lt;BR /&gt;Bus 006 Device 001: ID 0000:0000&lt;BR /&gt;Bus 003 Device 001: ID 0000:0000&lt;BR /&gt;Bus 002 Device 001: ID 0000:0000&lt;BR /&gt;Bus 001 Device 001: ID 0000:0000&lt;BR /&gt;Bus 004 Device 001: ID 0000:0000&lt;BR /&gt;&lt;BR /&gt;# fdisk -l&lt;BR /&gt;Disk /dev/dm-0: 5368 MB, 5368709120 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 652 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-0 doesn't contain a valid partition table&lt;BR /&gt;...&lt;BR /&gt;Disk /dev/dm-29: 16.1 GB, 16106127360 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 1958 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-29 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;I will appreciate any help or advise you can give me.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Tue, 12 Oct 2010 15:10:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258613#M52602</guid>
      <dc:creator>Oscar Garcia</dc:creator>
      <dc:date>2010-10-12T15:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Formating &amp; mounting USB disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258614#M52603</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] but as I was using it to backup&lt;BR /&gt;&amp;gt; files, I had the inconvenient of all the&lt;BR /&gt;&amp;gt; files being saved as root.&lt;BR /&gt;&lt;BR /&gt;"backup files" _how_, exactly?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Somewhere&lt;BR /&gt;&lt;BR /&gt;   Where?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  I found that if I formatted the disk as&lt;BR /&gt;&amp;gt; NTFS I would be able to assign permissions.&lt;BR /&gt;&lt;BR /&gt;Do you really believe that a UNIX(-like) file&lt;BR /&gt;system can't deal with file ownership and&lt;BR /&gt;permissions?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Well I formatted in an XP box, but now I&lt;BR /&gt;&amp;gt; can not mount it:&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Have you considered telling "mount" that this&lt;BR /&gt;device has a NTFS file system on it?&lt;BR /&gt;&lt;BR /&gt;      man mount&lt;BR /&gt;&lt;BR /&gt;Better yet, put the disk back the way it was,&lt;BR /&gt;and then try to solve your original problem&lt;BR /&gt;in some reasonable way.</description>
      <pubDate>Tue, 12 Oct 2010 15:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258614#M52603</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-10-12T15:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Formating &amp; mounting USB disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258615#M52604</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] vfat [...]&lt;BR /&gt;&lt;BR /&gt;OOPS.  I missed that part.  Sorry.  The&lt;BR /&gt;"man mount" advice still holds, however.</description>
      <pubDate>Tue, 12 Oct 2010 15:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258615#M52604</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-10-12T15:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Formating &amp; mounting USB disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258616#M52605</link>
      <description>Thanks Steve for your contributions.&lt;BR /&gt;&lt;BR /&gt;I figured out what was wrong ( I was using /dev/sda1 rather than the new /dev/sdb1) and now I can mount the device formatted as NTFS, I think I panicked with all those errors that fdisk -l threw.&lt;BR /&gt;&lt;BR /&gt;The entry in the fstab is&lt;BR /&gt; &lt;BR /&gt;/dev/sdb1       /opt/backup  ntfs    rw,umask=0000 0 0&lt;BR /&gt;&lt;BR /&gt;The problem now is that I can not write anything to it. For example:&lt;BR /&gt;# &amp;gt;hello&lt;BR /&gt;-bash: hello: Permission denied&lt;BR /&gt;&lt;BR /&gt;and these are the permissions of the directory:&lt;BR /&gt;# ls -la /opt/backup&lt;BR /&gt;total 5&lt;BR /&gt;drwxrwxrwx  1 root root 4096 Oct 11 21:25 .&lt;BR /&gt;drwxr-xr-x 18 root root  496 Feb 23  2010 ..&lt;BR /&gt;drwxrwxrwx  1 root root    0 Oct 11 21:25 System Volume Information</description>
      <pubDate>Wed, 13 Oct 2010 09:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258616#M52605</guid>
      <dc:creator>Oscar Garcia</dc:creator>
      <dc:date>2010-10-13T09:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Formating &amp; mounting USB disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258617#M52606</link>
      <description>Finally I managed to get it working! all thanks to cfdisk and fdisk (GUI interface). With #cfdisk /dev/sdb &lt;BR /&gt;I changed the type to linux and then using the partitioner (I believe is fdisk behind the YAST interface) I changed the type again to ext2 and formatted.&lt;BR /&gt;I think it mounted automatically after that, so unmounted changed the entry in fstab replacing ntfs with ext2, and re-mounted.&lt;BR /&gt;I can write, changed ownership, etc.&lt;BR /&gt;&lt;BR /&gt;So we'll see how the backup goes...</description>
      <pubDate>Wed, 13 Oct 2010 14:36:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258617#M52606</guid>
      <dc:creator>Oscar Garcia</dc:creator>
      <dc:date>2010-10-13T14:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Formating &amp; mounting USB disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258618#M52607</link>
      <description>&lt;!--!*#--&gt;&amp;gt; The entry in the fstab is [...]&lt;BR /&gt;&lt;BR /&gt;What does "mount" say about it?</description>
      <pubDate>Wed, 13 Oct 2010 14:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/formating-amp-mounting-usb-disk/m-p/5258618#M52607</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-10-13T14:41:56Z</dc:date>
    </item>
  </channel>
</rss>

