Find the answer to your Linux question:
Results 1 to 7 of 7
I tried writing zreos to my HD but it denied permission. How do I get around that ?...
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    4

    tried writing zreos to my HD but it denied permission

    I tried writing zreos to my HD but it denied permission. How do I get around that ?

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Quote Originally Posted by SilenceHaSpoken View Post
    I tried writing zreos to my HD but it denied permission. How do I get around that ?
    Hello and welcome to the forums!

    You'll need root permissions to write zeros to your drive unless you do it from a liveCD. I personally recommend using the Parted Magic LiveCD. It comes with lots of nice utilities that are good to keep on hand.

    For doing it without a liveCD, you can use su or sudo to gain the needed permissions.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    Mar 2011
    Posts
    4
    How do I go about doing that with su or sudo because I don't have CD's at the moment.

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Quote Originally Posted by SilenceHaSpoken View Post
    How do I go about doing that with su or sudo because I don't have CD's at the moment.
    Go to a terminal or console and issue the su command, or the sudo command if your system is setup for sudo:

    Code:
    su
    ...or

    Code:
    - su
    then, enter your root password when requested and press ENTER, then you can enter your command to be executed



    ...or for sudo

    Code:
    sudo command_name

    You can find some quick and easy lessons on using the command line under Linux here:

    LinuxCommand.org: Learn the Linux command line
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  5. #5
    Just Joined!
    Join Date
    Mar 2011
    Posts
    4
    Ok. Therein lies my problem, I'm just RUNNING Linux MINT 10 from the laptop. I tried deleting my partitions but it gave me some FATAL ERROR. That's when I tried the zeros in my hdd but it didn't work either. All I want to do is format my HD and install MINT with no problems.

  6. #6
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Quote Originally Posted by SilenceHaSpoken View Post
    I'm just RUNNING Linux MINT 10 from the laptop. I tried deleting my partitions but it gave me some FATAL ERROR. That's when I tried the zeros in my hdd but it didn't work either. All I want to do is format my HD and install MINT with no problems.
    Not sure that I'm following you properly.

    Either way, the Linux Mint installer should offer a chance to partition and format your drive during the installation routine. You can choose to use the current partitions and the installer will overwrite them if that's what you want to do.

    On the zeroing thing, if you want to clear the MBR (master boot record) only, leaving partition tables alone you can go to a terminal or console and enter the following command (needs root permissions as indicated earlier):

    Code:
    dd if=/dev/zero of=/dev/sda bs=446 count=1

    To clear both, the MBR and partition tables, you can run the following command from a terminal:

    Code:
    dd if=/dev/zero of=/dev/sda bs=512 count=1

    You'll need to put sudo in front of whichever command you want to use if your system is setup to use sudo instead of ordinary root permissions. Otherwise, the commands should work as given. You'll get a short message about records in and records out, then your drive should be ready to go for installing the OS or distribution of your choice.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  7. #7
    Just Joined!
    Join Date
    Mar 2011
    Posts
    4
    I did it.. Thanks a lot man. I do appreciate it a great deal.
    Last edited by SilenceHaSpoken; 03-29-2011 at 03:52 PM. Reason: mispelling

Posting Permissions

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