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


ADVERTISEMENT

Software :: Post Installation In Kickstart File

Mar 22, 2011

I have created a customized RHEL 5.4 DVD and placed a Kickstart file in it.It is running fine except the post installation steps.I need to copy some files from DVD to the newly built server. For this I have modified my Kickstart file as below, but no luck.

View 3 Replies View Related

CentOS 5 :: Kickstart Doesn't Run Post Install Commands

Oct 19, 2009

I am trying to copy an updated splash.xpm.gz at the end of a system build but everything in the post section is total ignored.

#--- Post-installation script
%post
#!/bin/sh
#...Mount the installation CD

[code]....

View 8 Replies View Related

CentOS 5 :: Yum Still Running During Kickstart Post Installation Script

Sep 13, 2011

I put a script into the post installation of kickstart and the log showed that the yum that is started in the script had to wait for yum to finish. I understand I can (and will) put this package in the packages section, but isn't it bad that yum is still finishing up when the post installation is initialized? Has anyone else noticed this?

View 2 Replies View Related

General :: Using Kickstart Post Install To Copy Remote Files

Feb 1, 2010

CentOS 5.3 32bit
I'm having trouble trying to copy files from an nfs mounted remote machine during the the post install with kickstart.

My post install:
%post
mkdir /mnt/foo
mkdir /mnt/foo/downloads
mount 206.xx.xx.xxx:/downloads /mnt/foo/downloads
ln -s /mnt/foo/downloads /downloads
sed -i '$ afoo:/downloads /mnt/foo/downloads nfs exec,dev,suid,rw,bg,soft,rsize=8192,wsize=8192 1 1' /etc/fstab
%end
%post --nochroot
cp -r /downloads/thirdparty/importantFolder /mnt/sysimage/opt
%end

View 11 Replies View Related

Software :: RedHat Kickstart Post Fglrx Rpm Install Not Working

Feb 23, 2010

As the title says, I'm building a kickstart for a RedHat installation.I'm trying to incorporate the firegl driver rpm installation and its halfway working, not completly. What I've tried so far is to place the rpm in the --nochroot and in the normal chroot enviornment and neither one works. In the --nochroot, install it with rpm --root /mnt/sysimage/ and in the normal post i just do an rpm -ivh. In either case the fglrx folder is built within /lib/modules, however everything thats supposed to be installed never makes it to the newly installed root. I'm thinking that its actually getting installed to the installation / as opposed to the new /.

View 3 Replies View Related

CentOS 5 :: Kickstart File Post - Copy / Paste Scripting

Feb 23, 2010

I want to design a kickstart file that creates an unattended installation (I've passed that part). After it installs, I want it to automatically read the device's MAC address and change the hostname to match the MAC address with the separators removed. (For example if the MAC address is 01-02-03-04-05-06, the prompt after login should read "root@010203040506")

I know this is entered in the "%post" section of the kickstart file, and I know I'm supposed to use the "cut" and "sed" commands, but I have no idea what I'm doing or how to do it. script so I can copy/paste it into my kickstart file?

View 5 Replies View Related

Fedora Installation :: Error At Post Install Scripts For Fedora 10 Kickstart Installation

Nov 18, 2009

I am trying to install fedora 10 kickstart on my server.But I can't, because my kickstart installation hangs at post install scripts.It is not showing any message & stopped.

View 1 Replies View Related

Red Hat :: CentOS 5.3 Installation From An USB Pendrive - Ks - %post Mount ?

May 20, 2009

What I have solved:

8 GB Pendrive
FAT32 (vfat) bootable
CentOS 1-7.iso's are in directory /CentOS

kickstart is called with:

installation is PERFECT!

but

I CAN'T GET THIS TO WORK and I can' find and detailed document's on this

View 1 Replies View Related

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

Software :: Post Install Fedora 15 / Cannot Mount DVD Backup

Jul 11, 2011

I just upgraded from Fedora F11 to F15. Before making this transition, I backed up my system using my Mac's DVD burn hardware and tested the disk on my F11 system. Ok.After F15 install, the DVD backup won't mount. I've tested a generic DVD from a tech book and this will mount. Ok.What else can I do? hfs-tools is installed. I don't know how to go about troubleshooting this.

View 11 Replies View Related

Fedora Installation :: Post Partition Creation In F10

Jun 18, 2009

I installed Fedora on IBM desktop PC with 40 GB. During installation I only created Boot and swap partitions and remain 30 GB as free space and now I want to create partitions from 30 GB free of Harddisk and I do in Windows XP and use Administration TOOL and create an other partition. so How I can create partitions on fedora after completed installation of Fedora Desktop. Need steps of post harddisk partition tool in Fedora.

View 5 Replies View Related

Ubuntu Installation :: Post Install Root Home Dir Creation On Separate Partition

Jun 25, 2010

Looks like I missed defining a /home dir during installation. It's been a while I have a spare partition now that I'd really love to use. Can you specify this still, or is it only allowed during an install?

View 3 Replies View Related

Fedora Installation :: FED13 Kickstart - Client Failed - Loader Failed To Mount

Jun 27, 2010

I have configured the remote installation of Fedora 13 with kickstart with nfs installation method. All work ok until I boot the Fedora 13 client system.

Fed13 client system receives the IP address from dhcp, receives the loader, loads vmlinuz and initrd.img from tftp, load anaconda, configures the network and dev eth0, mounts nfs server to load kickstart file, loads kickstart file (language...) but when it tries to mount nfs server to install from Fedora 13 installation tree it fails.

First, I thought that I had an error on my NFS configuration but I was wrong. I opened tty with ALT+F4 on the Fedora 13 client and I sew this error:

Code:

Is this a bug or can I modify anything to correct this error? How?

View 3 Replies View Related

Ubuntu :: Fresh 9.10 Install Reboot Error No Device - Mount Partition Mount: Can't Fin?

Jun 24, 2010

what now trying to mount partition get this error this is the partition ubuntu 9.10 is installed on and upon reboot error no device with a long string. mount: can't find /dev/sda6/mnt in /etc/fstab or /etc/mtab

so now that I believe I've successfully mounted the partition how do I direct the bootloader to this partition /dev/sda6 on /media/11076e45-e27d-470b-bb6d-6894f7809a0c type ext4 (rw,nosuid,nodev,uhelper=devkit)

View 1 Replies View Related

Ubuntu Installation :: Mount Or Not To Mount - Can't Create A Partition

Jan 2, 2010

I've just bought a HP mini compaq laptop. The laptop doesn't have any CD/DVD "reader". So i was forced to download the .iso file to install ubuntu in addition to Windows XP that was present when i bought it. To do so i used UNetbootin, and i used my only hard disk as a live CD. But when i wanted to install ubuntu, they told me to create a partition. The problem is that i can't. I have only one partition sda1(nfst) which covers the whole stockage memory, and an empty space(8Mo). I can't acceed to any of the resizing or modifying options to edit the nfst partition. The only options are manage flags and umount. When i click on this one, they tell me : # umount /cdrom : cdrom is busy.

View 3 Replies View Related

Server :: Apache2 SVN Post-commit Script Certificate Error Post-commit Hook Failed (exit Code 1) With Output?

Oct 12, 2009

I am using apache2 with subversion and trying to get post commit script to run an svn update command. All svn commands seem to work fine manually

Everything used to work fine but then the server ip changed and I can no longer access it with the web name and have to use the ip directly

I am using tortoise svn with vista on my work machine

Here is the script

#!/bin/sh
export LC_CTYPE=en_US.UTF-8
/usr/bin/svn update /home/common/webroot/bob

Here is the result.

Command: Commit
Modified: C:UsersMattDesktopcheckout - bobindex.php
Sending content: C:UsersMattDesktopcheckout - bobindex.php
Completed: At revision: 63
Error: post-commit hook failed (exit code 1) with output:
code....

I think what i need to do is update the certifcate for the apache2, but I'm not sure how to do this, where to put it, and then which of the thousand apache config lines needs to be changed

View 5 Replies View Related

Ubuntu :: Cannot Post On Forum - Click On "submit" To Post A Thread The Page Will Just Say "loading..."

Sep 28, 2010

For some odd reason, I cannot post on the ubuntu forum and the LinuxMint forum. Yea, I know.... the irony... I am using Mozilla and have tried Chromium, but that did not fix my problem. When I click on "submit" to post a thread, the page will just say "loading..." and nothing happens for a really long time. Does anyone know what is up? I tried posting on one other forum that I go to often and it seems to work out fine. I haven't tried any other forums though.

View 7 Replies View Related

Debian :: Can't Mount A Partition On Sda

Feb 2, 2016

I am having trouble mounting a partition on "sda", I opened thunar as root to try and set permissions to the partition so I could access it but when I open thunar as root I don't see the partition, if I open thunar without root privileges only then I can see the partition, I just can't access it, I get the error "Failed to mount "backup'.Not authorized to perform operation.

View 14 Replies View Related

Debian :: How To Mount LV Partition

Sep 8, 2010

My desktop Debian Lenny installation is crashed. And I need to gain access to home directory! Partition is logical volume. I put HDD in a External HDD case and connected with my notebook (Debian Lenny) using USB.

View 5 Replies View Related

General :: How To Mount OS X Partition By Name

Jun 8, 2010

In Linux how do I mount a OS-X partition * by name * that is on the same host? I once used gnome-mount like this:
gnome-mount -o ro -d /dev/sda2 or gnome-mount -o ro -p "Macintosh HD"
But, alas, gnome-mount seems to be no more. RIP.
I can do this:
gvfs-mount -d /dev/sda2
(which generates a whole lot of errors but does mount the partition in the /media directory.)
This is a related question: [URL]. But how do you do it by name?

View 1 Replies View Related

Ubuntu :: Mount And Run The Os Of A Partition?

Mar 12, 2010

is there a way to mount another partition on any OS really, and then in a window in the current os, boot and run that partition?

for example, im in Ubuntu and i mount my seperate arch-linux partition. then via some magical software, boot it and run it in a window, so now i am in ubuntu checking my email, and simultaneously in archlinux on facebook in a commandline using links or something.

View 1 Replies View Related

General :: How To Mount A ID:83 Partition

Jan 28, 2010

I bought an IOMEGA Screenplay Director HD and i want to mount a partition from it using my linux. When i ran fdisk, i get:

Disco /dev/sda: 1000.2 GB, 1000204886016 bytes
255 cabezas, 63 sectores/pista, 121601 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes

[Code].....

But it states that is a linux filesystem but doesnt specify which one or the way things are done.

View 13 Replies View Related

General :: Can't Mount One Of Partition?

Jul 4, 2010

one of my partition(actually its ntfs) are not detected in my Ubuntu,its say "unmounted".. here the screenshot with GParted :[URL]...(the highlighted area is the partition that i mean,/dev/sda1)

i try mount the partition(using mount -a) but i got the error message like this :

NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

[Code]..

i can't format that partition because i need to get i386 folder to get my windows back.i already try to install windows but my harddisk wont detected,it happened too to windows recovery console.there is a hidden partition,comes with the netbook,it use too get back to the factory setting with OneKeyRecovery,but it useless if the partition is messed up,thats why i need the i386 folder to get OneKeyRecovery workin again..

View 8 Replies View Related

General :: Can't Mount Win 7 Partition

May 10, 2011

Toshiba Satellite Win 7 which won't boot past BIOS - left with non-blinking cursor.Hitachi hard drive partitioned into 3 part - 1.4 gb MBR / 222gb Windows C:/ 20gb HD Recovery. Unfortunately owner did not make recovery discs. Data is not critical but would be nice.

Hitachi DFT drive test utility does not see the drive - error is no controller found

Pulled Hitachi drive and placed into external USB case. Plugged into PCLinuxOS installation. Drive Spins up OK

PCLinuxOS sees and CAN mount the ntfs-3g MBR AND the HD Recovery partitions but will not mount the Windows C;/ drive partition. Google finds lots of threads about downloading ntfs-3g package to mount the partitions but this is not the problem as Linux sees and mounts the MBR and Recovery partitions.

Is the Hitachi partition table corrupted? What tools to use to fix?

View 5 Replies View Related

Server :: How To Mount LVM Partition

Dec 27, 2010

I had a centos Linux 64bit installed on my server.Unfortunately I don't know how but my OS crashed and now I have no way to get back my DATA except for rescue disk. I have a Linux 64bit loaded in my server with rescue but I have tried many ways to mount my hdd in Linux and was not succeed.

root@rescue ~ # fdisk -l
Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders

[code]....

View 5 Replies View Related

Debian :: Mount The Windows 7 Partition In Sid?

Aug 18, 2010

I have a dual-boot machine and want to know if there's a way I can mount the windows 7 partition in sid.

View 5 Replies View Related

Debian :: Can't Mount Windows Partition

Sep 10, 2010

I have a dual-boot with Debian and Windows7. I used Synaptic to install the ntfs packages, and Debian detects the windows partition, but when I double click it, it says something like "Failed to mount. Invalid mount option". Now I can mount it and navigate the folders, but ALL folders and files have permissions set to 700, and I can't change the permissions to access any of the files. Sure would be nice to be able to access my windows partition.

View 1 Replies View Related

Fedora :: Cannot Mount Encrypted Partition?

Apr 11, 2011

I used Ubuntu for years now, but since the latest decisions got public I deceided to try something new: Fedora. I installed the system as a dualboot,Ubuntu and my old data. Because Fedora got installed inbetween of two partitions,ad to do the partitioning manually. I just made one partition /dev/sda4. During the installation process I got asked about the password for my /dev/sda1 partition. Of course, I entered it. So far so good.Now, everytime when I boot, the boot process stops and asks me for the password of the /dev/sda1 partition. However, the boot process does not go on, unless i press STRG+C.After the log in, I can also not access my data, by entering the password (GUI).The only way I can acces the data on that partition is:

Code:
su -
cryptsetup luksOpen /dev/DEVICENAME luks-fedora

[code]...

View 4 Replies View Related







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