Ubuntu :: Find Start And End Sector Of Partition With Sudo-command?

Jun 18, 2010

How to find Start and end sector of partition with sudo-command?

View 2 Replies


Fedora :: Get Kickstart To Start A Partition On A Specific Sector?

Feb 16, 2010

I need a way to get Kickstart to start on a on a specific sector. For example you can do this using parted

parted /dev/sda
(parted) mklabel gpt
(parted) unit s
(parted) mkpart primary ext2 40 -1

This will start a partition on sector 40. How can I do this with a kickstart file?

View 1 Replies View Related

Fedora Installation :: Partition Does Not Start On Physical Sector Boundary?

Aug 22, 2011

fdisk -l: Disk /dev/sda: 750.2 GB, 750156374016 bytes.


I've tried other installations, but I always get errors like this. /dev/sda 5, 7 and 8 are occupied by PCLinuxOs. /dev/sda 9, 10, 11 and 12 by Fedora. I made room for Linux installations by GParted (last version). Really, I made no errors. The installer of PCLOS is a bit strange: it changed the NTFS partition sda5 in sda 6! In a previous installation with Fedora and Kubuntu only the extend partition sda 4 complained about not starting on physical sector boundary. The hard disk is Western Digital with Advanced Format. Probably this is the cause of the problem. The systems are snappy and responsive. I do not encounter any problem. What to do? Ignoring the problem or reinstalling? May be it would be better to get rid of PCLOS and to dual boot Windows with Fedora?

View 5 Replies View Related

General :: Bootable Partition Start From Sector 1 On Hard Disk?

Dec 20, 2010

Should the first bootable partition start from sector 1 on a hard disk? or Can it be created anywhere on the disk? I am using fdisk to create the bootable partition.

View 2 Replies View Related

Red Hat / Fedora :: Find The Right Command To Start Another XServer?

Jun 30, 2010

I tried my best on searching for the answer to this question. I couldn't find the right command to start another XServer. Maybe I just don't know how to look for it, or I'm using the wrong keywords. Anyway, what I want to happen is hit CTRL+ALT+F6 (F7 to return to my desktop) and start another XServer to run a full screen game. How do i do that? Is it possible to have multiple instances of X?

By the way, the error says that an instance of x server is already running on display 0 after I have issued this command: Code: startx In case you're wondering why this is my solution, it's because scripting is not my type for automatically making an xserver when I click a game, especially if you'd have to do it for all other games :/ So, let's stick to my idea D unless it's impossible, of course. EDIT: I was able to get a new xserver with xterm in it, but it seems there is no acceleration or some sort >.< OpenLieroX runs at a frame rate of 15 fps or so. Anyone have an idea on how to enable acceleration on openbox?

View 1 Replies View Related

General :: Typed The Command As Sudo Apt-get Install Dosbox The Error Occured As E:couldnt Find The Package Dosbox?

Feb 6, 2010

when i was about to install turbo c using dosbox in ubuntu on the console i typed the commandas sudo apt-get install dosbox the error occured as E:couldnt find the package dosbox

View 5 Replies View Related

CentOS 5 :: Can't Find The Start Command For Gnome From Terminal

Jan 11, 2010

I can't find the start command for Gnome from Terminal.

I tried:

start gnome
start gne

Nothin is matching. In the Documenation is no help from console.

View 7 Replies View Related

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

Jan 6, 2011

Kernel, Slackware 12.0



On the other hand


So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.

View 3 Replies View Related

General :: Can't Find ./prog.sh Start - Unable To Kill Manually Using Command

Nov 3, 2010

I'm trying to figure out how to operate a rather large Java program, 'prog'. If I go to its /bin/ dir and configure its setenv.sh and prog.sh to use local directories and my current user account. Then I try to run it via "./prog.sh start". Here are all the relevant bits of prog.sh:


When I actually do ./prog.sh start, it starts. But I can't find it at all on the process list. Nor can I kill it manually, using the same command the shell script uses. But I can tell it's running, because if I do ./prog.sh stop, it stops (and some temporary files elsewhere clean themselves out).


the process is running yet not in any way listed by the system. I can't find it in ps or /proc/, nor can I kill it. But the shell script can still stop it properly. So my question is, how can something like this happen? Is the process supremely hidden, actually unlisted, or am I just missing it in some fashion? I'm trying to figure out what makes this program tick.

View 2 Replies View Related

Software :: Sfdisk Starts Partition From Sector 1 Instead Of 63?

May 1, 2011

Slackware 13.1,using "sfdisk".I need to use this one as it can be used in a non-interactive mode,"parted"is not a solution for me.Inside my own script I make the partition like this:


set `losetup -f`; dev=$1
`losetup $dev $out`
sfdisk $dev << EOF

However after formatting this single partition in FAT16 I can see the drive in my emulated Windows311, but not use it. It says that the drive cannot be accessed. When I do the same thing interactively with fdisk it all works. When inspecting the partitions in both cases via "fdisk -ul" I see that whenever sfdisk is used to create the partition it is created starting from the 1 sector. Whenever fdisk is used it is created from 63 sector (which is correct of course). How can I make my sfdisk start the partition not from the 1st sector, but also from the 63 so that OS wouldn't have problem with that?

I tried like this:


sfdisk -uS $dev << EOF

But it then just says that the partition does not end on the boundary. Trying to see the content with fdisk -ul says that partition table is incorrect. So doing it this way doesn't work.

View 2 Replies View Related

General :: Command Line - Determine What File Occupies A Given Sector?

Apr 14, 2010

In Linux, I'd like to know how to find the file(s) if any which as using a particular sector on the hard drive (ext2/3). There is a similar question here regarding Windows, however I need a Linux command line solution (this is a headless system).

View 1 Replies View Related

Server :: Sudo - Command Can't Run By Sudo

Jun 18, 2010

I am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.

View 8 Replies View Related

Ubuntu :: Ccd2iso " Unrecognized Sector Mode (c9) At Sector 0 "?

Jul 27, 2010

Title says it all, I get that "un..." when trying to convert an .img file to .iso, am I doing anything wrong here?.

View 3 Replies View Related

Ubuntu Installation :: Grow Boot Sector. Delete Swap Partition. Can't Boot Afterwards.

Mar 7, 2010

I'm running 9.10 off of a 4 GiB CF card. I keep running into space issues with updates, so I purchased an 8 GiB replacement card. I've cloned the 4 GiB card to a .IMG file using DD.I've then copied the 4 GiB image back to the 8 GiB card using the Ubuntu startup disk creator program. Once done, I'm able to properly boot off of the new 8 GiB clone.Unfortunately, the clone ends up with 3.67 GiB of unallocated space at the end *see attached). I tried deleting the "extended" partition that the swap is located at after booting from a Live CD and the system was unable to boot after this. I was thinking that I would delete the swap entirely and create a swap file after I merged the existing partitions, but I was unable to do this.

best way to do this (e.g. get one large 8 GiB partition with my old image on it)? I still have the original untouched 4 GiB card and also have an external CF drive if I need to redo the cloning. I've also used Clonezilla before, so perhaps there's a way to do this that allow me to grow the image as it's being cloned.

View 1 Replies View Related

Ubuntu :: "boot Sector Signature Not Found (unbootable Disk/partition)"

Jan 3, 2011

I recently installed meego on an asus eee pc, neat l ittle os. i had originally had grub set up booting into ubuntu netbook remix. win xp and the system restore partition. when i installed meego i was allowed to select what i wanted as far as boot options in the new boot loader (extlinux). windows and meego boot just fine but when i try to get into my already configured and homey install of ubuntu nbr it gives an error of

"boot sector signature not found (unbootable disk/partition)"

View 1 Replies View Related

Ubuntu :: How To Start Certain App As Sudo

Jul 18, 2010

I seem to only be able to start checkgmail as root. I have it listed as a startup application, and in the command line I entered gksudo [path to file]. How do I make it remember the password at each startup?

View 9 Replies View Related

Ubuntu :: Wireshark Automatically Start With Sudo?

Feb 2, 2011

I am trying to use wireshark on my ubuntu 10.10 laptop. However I have found out that wireshark will only detect my network cards when it is started with root permissions. How would I make it automatically start with root permissions?

View 2 Replies View Related

Ubuntu :: Df Shows 19G Used On / But Sudo Kdirstat Can Only Find 6G?

Jun 28, 2010

I have a fairly clean Ubuntu Karmic install on a 24G partition dedicated only for /. df -h:

Filesystem Size Used Avail Use% Mounted on
/dev/sda7 24G 19G 3,7G 84% /


View 1 Replies View Related

Ubuntu :: What Does 'sudo' Command Mean?

Oct 30, 2010

i changed to ubuntu completly..nomore windows for several reasons, but ofcourse being a newbie, im wondering a coupel things like where the program files are, also..what does the "sudo" command mean? does it just give you admin rights?? what are proprietary drivers, and can i emulate most games under wine?

View 5 Replies View Related

Ubuntu :: How To Add A Command To Sudo

Mar 27, 2011

I have downloaded a tar ball and installed a program. This program needs root privilege to run. Say the command is nxt. The nxt has an option ERASE How do I make so that it runs as

sudo nxt ERASE

I have set up root password and everything, but don't know how to do it.

View 4 Replies View Related

Ubuntu :: Chmod - Can't Run Sudo Or Start Network Manager

Jul 27, 2010

Recently i was fixing a permissions error on my home folder. In the process i ran accidentally chmod 777 in the root directory. BIG mistake. Now i cant run sudo, or start network manager. I am currently on vacation and made a bootable version ov ubuntu on my flash drive, but i wouldn't boot. I think it is because i chmod'ed the grub folder (with is in the root) I have a boot CD a home, but is there anyway to fix it beforehand?

View 7 Replies View Related

General :: Partition Table From Fdisk - Cylinder Mode - Sector Mode - Expert Mode ?

Aug 30, 2010

Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?

Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?


View 3 Replies View Related

Ubuntu :: Sudo Command To Fix Packages?

Feb 10, 2010

I got one of these broken packages message but can't remember the command to fix broken packages from the terminal.

View 6 Replies View Related

Ubuntu :: Won't Let Me Use The Sudo Command In Terminal ?

Feb 27, 2010

Ubuntu won't let me use the sudo command in terminal. If I try, sudo: must be setuid root pops up. Also, if I try any tasks that require permission, the authentication box pops up and then disappears within one second.

View 9 Replies View Related

Ubuntu :: Su Command Won't Work, But Sudo Will?

Oct 16, 2010

I was attempting to install the fglrx driver on my new ubuntu insallation, following a guide I found from google. At one point it says I need to login as super user, so I tried and no matter how many times I try it just keeps saying authentication failed. I even tried typing in my password with 1 finger, multiple times, every single time, authentication failed. So I decided to try the sudo command with fdisk -l, worked flawlessly. Tried the su command again, authentication failed, I have no idea what in heck is causing this but it just won't stop happening.

View 1 Replies View Related

Ubuntu Networking :: How To 'sudo Cable-start' Automatically On Boot

Feb 19, 2011

i use ubuntu 10.10 installed in wubi on my girlfriend's machine.in order to connect to the internet i had to install a dialer script and then i need to type in terminal: sudo cable-start and then password BUT i wish this to happen automatically when booting the machine.i am sure that it is possible, but have no clue how to do it.

View 3 Replies View Related

Ubuntu :: Nautilus Won't Start Without 'sudo' - Failed To Get Current CK Session

May 21, 2011

Running natty (latest upgrade), and i'm having nautilus issues. If i type

into the terminal, i get nothing. no errors, no text, and no window.

If i type


View 7 Replies View Related

Fedora Installation :: 11 Sudo Has A 20 Second Start Delay?

Jun 11, 2009

i'm using Fedora 11 which i installed a couple of days back... i added my user name to the sudoer list but everytime i run the sudo command it takes at least 20 + seconds before anything happens... this happens everytime i run sudo... in comparison to running su things happen immediately... anyone else experiencing this? now everytime i install or run a command requiring root access i just use su...

View 7 Replies View Related

OpenSUSE :: Wireshark - Unable To Start In Sudo

Sep 14, 2010

Install wireshark and added it to visudo. But wireshark refused to start in konsole


# sudo wireshark

(wireshark:7493): Gtk-WARNING **: cannot open display:

However, wireshark will start without problem when in root.

View 6 Replies View Related

Slackware :: Start Thunar As Root - Won't Run After Sudo

Jun 1, 2011

I have been using ubuntu or a derivative distro and perhaps I grew too used to sudo. If it matters I am on Slackware 13.37 and xfce4. I was able to adjust sudoers to allow sudo but I am having difficulties running some progs as root. The biggest concern is trying to start thunar as root. It wont run after sudo, su, or su -l. What am I doing wrong?

View 10 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved