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


ADVERTISEMENT

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

Aug 22, 2011

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

[Code]...

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

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 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

General :: Write File To A Specific Sector?

Jun 28, 2010

I need to copy a file into a Flash memory which is connected to my computer via USB. The file must start at a specific sector.
Can anyone guide me how to do this? (it can be through a C program, a line command, or any other way)

View 8 Replies View Related

Fedora Installation :: Encrypted Partition Configuration On Kickstart?

Feb 16, 2011

couldn't find anything similar on the forum.I am writing a kickstart for fedora 14 with a partition table similar to:

part / --asprimary --fstype="ext4" --size=10000 --encrypted --passphrase=pass1
part /boot --asprimary --fstype="ext4" --size=130
part /var --fstype="ext4" --size=5000 --encrypted --passphrase=pass1

[code]...

View 9 Replies View Related

Fedora :: Schedule A Process To Start At A Specific Time (not On Start Up)?

Jan 19, 2010

I'm trying to find how to schedule a process to start at a specific time (not on start up). How would I schedule a process/application to start at a specific time (if it matters, it will be a background process). For instance, have process abc start every weekday at 5am. I've done this for windows many times though have only been using linux regularly for a few months and haven't figured out the best way of doing this.

So far the best solution I have is to create a program that will start on boot and have it check the time and sleep until the required time and then start the required process(es) at the required time(s). But this seems more of a hack since I'd expect there to be a proper way of doing this.

View 4 Replies View Related

Ubuntu :: Giving A Specific User Permission To Start/stop A Specific Service?

Jun 8, 2010

How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.

View 5 Replies View Related

Ubuntu :: Allow A Specific User To Mount Or Remount A Specific Partition?

Jun 9, 2010

my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)

View 7 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:

Code:

# MAKING PATITION:
set `losetup -f`; dev=$1
`losetup $dev $out`
sfdisk $dev << EOF
,,$fsys
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:

Code:

sfdisk -uS $dev << EOF
63,,$fsys
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

Red Hat :: Kickstart Mount Partition In %post?

Feb 18, 2011

I am trying to automate installs of Red Hat 5.5 x86. I have a FAT32 partition on my disk at /dev/sda1 that I want to mount to /cdrv folder of the installed OS and I use this line in the %post section for this:"mount -t vfat -o iocharset=utf8,umask=000 /dev/sda1 /cdrv"
For some reason, this does not mount the partition.onfirm using "fdisk -l>>/post.log" that /dev/sda1 is FAT32 and is the Boot partition. I can create any folders or files using the %post section but just this mounting doesnt seem to work.

View 1 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

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?

Code:

View 3 Replies View Related

Fedora Installation :: Fedora 10 Complains Abt Bad Sector During Installations

May 9, 2009

and instructs me to do a chkdsk /f /r on it and reboot TWICE!. So I did, multiple times and multiple reboots later, it still says the same. This is my first experience with fedora. I have tried to look through the forums and couldnt find any help. Can some one point me in the right direction?

View 3 Replies View Related

SUSE :: Creating Partition With Specific ID ?

Sep 30, 2010

I was doing an exam the other day and they wanted me to create a partition /dev/hdd5 so I saw there was a /dev/hdd so when I created the partition it obviously named it /dev/hdd1. How do I get it to be hdd5?

View 3 Replies View Related

General :: Start Terminal In Specific Folder In Ubuntu 10.10?

Apr 16, 2011

I keep all of my web design work under /var/www/(application_name). Nine times out ten, when I open a terminal, I'm heading to the www folder - cd /var/www. I would love to make that my "home" folder for the terminal, so it would just open there - I know if I ctrl+shift+t to open a new tab it defaults to the same dir, but it would be nice to have the first opened terminal default to there. Is this possible, or is there a better way to go about this?

View 2 Replies View Related

Ubuntu :: Install Grub To Specific Partition?

May 5, 2010

I have many partition for many different operating systems. I have Windows 7 on partition 2, and Ubuntu on partiton 3. Previously I could use GParted to set the boot flag for the drive to whichever partition I desired. If I set it to partition 2, I got the Windows bootloader, and if I set it to partition 3, I got the Ubuntu bootloader. Now if I set the boot flag to my Ubuntu partition, I get a message something along the lines of "disk not found". I can't recall its exact message at the moment. When setting up Ubuntu the installer has the "Advanced" button on the last page which gives you the option of which partition to install Grub to. Is there any way I can access this again, or a utility that will do the same thing? I have used the grub program in the following way to restore the Ubuntu bootloader

sudo grub
root (hd0,0)
setup (hd0)

but the boot flag is still on my Windows partition, suggesting Grub has overwritten Windows' bootloader. How can I tell grub which partition to install to? I'm using 10.04 and Grub2.

View 3 Replies View Related

Ubuntu :: How To Assign Directory To Specific Partition

Jun 13, 2010

How can I assign a directory to a specific partition (another hard drive)?How would someone move / home/ username/music to another drive or partition? But do so in a way that it no longer writes MP3's (or FLAC) files in the original directory of the root drive?

View 9 Replies View Related

Fedora :: Tool To Extract A Multi-sector Nrg File?

Dec 16, 2009

I have a multi-sector nrg file that I would like extracted. I can't seem to find a way to extract the contents of it! Please tell me if there is a tool I can use to do this!

View 2 Replies View Related

Debian Multimedia :: How To Get VLC To Start At Specific Time In Media File

Mar 14, 2015

How do I get vlc to start at a specific time in a media file. I can do it easily in mplayer2, mpv but not vlc. Let's say the media file is named abc.avi (file format,container not important for this example.) Also the running time is around 2+ hrs. In mplayer2 and mpv I can simply do :-

Code: Select all$mpv abc.avi --start=00:59:00

And it will start running at that point in time.

In vlc, it also seems to have something at :-

Code: Select all[$] vlc --advanced --help
......
......

Playback control:
      --input-repeat <integer [-2147483648 .. 2147483647]>
                                 Input repetitions
      --start-time <float>       Start time

Now I don't understand what the <float> bit. I tried :-

Code: Select all$vlc abc.avi --start-time=00:59:00

But that didn't work. It's possible that it might be a bug, then again I might not have done it correctly.

View 3 Replies View Related

General :: Make Openbox Automatically Start To Use A Specific Gtk Profile?

Jul 7, 2010

I have switched to openbox from Gnome and would now like to stop using Metacity altogether. When I was using metacity I had both a control theme (e.g. gtk theme) and fonts set up how I liked them in gnome-appearance-proporties. When Openbox starts, it gets my window borders up properly (ofc.) but fails to render my fonts properly and uses the wrong gtk theme. I can't find anywhere to specify which gtk theme to use or what method to render my text with. After Openbox is finished doing it's thing, and I run gnome-apperance-properties manually, it will automatically set everything to it's proper value, but I don't want to have to do this as it takes several seconds to preform and I'd rather not have it jury rigged like this.

View 2 Replies View Related

General :: Search Partition For Specific Sequence Of Bytes

Aug 17, 2010

I lost an important file. I know what bytes the file begins with. How can I search the partition for the sequence of bytes?

View 4 Replies View Related

Ubuntu :: Automounting A Specific Partition On Secondary Drive

May 29, 2010

I'm using rsync and crontab to do automatic backups from my /home partition on /dev/sda to my backup drive /dev/sdb3. The backup partition is ext4.

But the backup partition (sdb3) is obviously on a secondary drive, and I want to automount it when I log in. I read that you have to edit /etc/fstab to do this, but I'm not familiar with the process and can't find clear enough instructions, so I was wondering if someone could give me the command I need and maybe explain how it works?

View 1 Replies View Related

Ubuntu Installation :: No Option Found For Specific Partition

Oct 31, 2010

To be honest, I am trying to install Linux Mint, but since this is based on Ubuntu, and I am comfortable with Ubuntu on my VM I decided to label it Ubuntu.

I have a 235 HDD and it is partitioned like this:
C: 150 GB (Windows) NTFS
D: 70 GB (Data) NTFS
G: 15 GB (for my not yet installed Linux) NTFS

I also followed this tutorial and now I have some sort of LiveCD inside my USB: [URL]. So, now I have a pen drive with an Ubuntu LiveCD and a 15GB ready for my Ubuntu!

This is what I do:
1 - connect pen to computer
2 - turn on computer
3 - pen start running and I load Linux like a LiveCD (yey!)
4 - Linux loads and I wait
5 - I click "Install linux"
6 - I configure the language, time zone and keyboard with no problems
7 - Disk partitioning ... it offers me 2 choices:
7.1 - Erase entire disk and install Ubuntu
7.2 - Manually partitioning: but drive C:, D: and G: do not appear!!!

I want to install my Linux on driver G:, but I don't find a "Install Linux in this specific partition" option!

View 9 Replies View Related

Fedora :: Hard Drive Reallocated Sector Count Errors?

Jul 10, 2009

I just upgraded to Fedora 11. (I decided to give 64bit a try and I am extremely impressed.Not one problem at all! Kudos to the devs.) Whenever I log in I get the Palimpsest Disk Utility telling me two of my hard drives have a reallocated sector count.I have two 1.5Tb Seagate drives (model #: ST31500341AS). One is a backup of the other. On the first disk the disk utility tells me I have 22 reallocated sectors and 53 on the second. I've been on Google on discovered that there is no easy way to fix this and that a few bad sectors are okay but too many is a sign of imminent drive failure. This obviously concerns me because both my main drive and its backup are showing errors.

I went to Seagate's website and downloaded their diagnostic software (Seatools for DOS) and it passed both of these drives.So, questions: is it possible that Fedora is giving me a false positive? If not, is 22 and 53 sectors something to be concerned about? If so, should I contact Seagate and see if I can pull warranty on these drives? Is there a way to repair this damage?

View 5 Replies View Related

Fedora Installation :: Install Didn't Create Boot Sector?

Jul 12, 2011

I installed Fedora 15 on a primary partition and expected the install to create a partition boot sector, but it didn't. Did I do something wrong or is this not supported?

View 13 Replies View Related

Ubuntu :: Gnome3 - Change Automount Options For A Specific Partition?

Sep 1, 2011

I have a specific NTFS partition on a USB drive that I wish to enable execute support for. The only way I've found to do this is to add the partition in /etc/fstab with a umask. This poses some problems:

1. Only root can mount it, making it a pain to mount (open terminal, `sudo mount (path from /etc/fstab)`, enter password, close terminal).
2. The system will hang at start if the UUID is unavailable (or, the external disk is unplugged). I run several servers from my machine, so if I do a remote restart it will not come back up because of the hang.

Is there a way to specify to FUSE (which I believe is the handler for auto-mounting in Nautilus) that this partition should have execute access to files?

View 1 Replies View Related

Server :: LVM - Mount Specific Partition Inside Logical Volume?

Sep 4, 2009

I've just started playing with virtualization and I started my first VM. I would like to know if it's possible for the host machine to mount the partitions of the VM when it's closed. Right now the VM uses /dev/vg0/vm1 and has 3 partitions on it. I tried mount /dev/vg0/vm1 ~/vm1 at first before I remembered that I'd need a way to mount a specific partition inside the logical volume, not the volume itself!

View 2 Replies View Related







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