Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 527
  • Last Modified:

Linux (Ubuntu) Can't copy image to a fat32 partition due to access permissions - Simple for linux user

Hi, I have recently installed UBUNTU, i'm trying to install another image to a different partition on the same SATA II hard drive.

My machine:
Intel Core Due E6300 @ 1.86
1024MB DDR667 Corsair Memory
2 x 250GB Sata II Seagate Hard Disk
ConRoeXfire-eSATA2 - Motherboard
Intel Extreme Graphics onboard
ATI Radeon X1600PRO 512MB - Pci-e Slot

Hard Drive 1(HD1): 4 Partitions,
Partition 1 - Vista 80gb NTFS Primary
Partition 2 - Ubuntu 80gb EXT2 Primary
Partion 3 - Linux Swap 400 MB LINUX SWAP
Partion 4 - Empty FAT32 Primary

Hard Drive 2(HD2): 1 partition Windows XP professional

So i tried the command

dd bs=1048576 if=./image.img of=/dev/sda4 (as i have been instructed but the website i got the image from.)

from the folder containing the image(on a usb hard drive) and I get an error message
"You do not have permission to access this disk" or something similar

when i go to /dev/sda4 and right click it says I don't own the disk, any tips?!

It's a bootable image that i'm trying to instal,
Sorry it's not many points it's all i have left

Thanks,
Gav
0
GavinAiken
Asked:
GavinAiken
2 Solutions
 
Jason WatkinsIT Project LeaderCommented:
It sounds like you must mount the NTFS volume in Ubuntu first.  NTFS read/write capability in Linux is sketchy at best.  

Can you use VMWare to mount this image?

/F
0
 
SandeeprajCommented:
I'm not sure but sound like the rare one that annoying some people

It doesnt matter that you logged in as an admin account.It becouse an
app has changed registry keys permissions so your user account doesnt
have permission, weather you an admin or not. You'd have to go into your
registry useing regedit, right click the keys and directries, then permissions
and set the permissions back to full read write for your account.

The other possabilty is youve disabled some windows services that
are needed....


Regards
Sandeep raj
0
 
GavinAikenAuthor Commented:
Ok so eventually i found out that i just need to put the word sudo in front of the command in Ubuntu to act as the root user for the command, tahnks for your help guys but the solution was actually incredibly simple due to the way Ubuntu works.

Gav
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now