LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
LinkBack Search this Thread
Old 06-14-2005, 03:06 PM   #1
mrcash
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
Kickstart installation. Access to cdrom in %post


Hello

For my previous kickstart installation (Red Hat 9) i have used the updfstab program (part of kudzu) to update fstab and thereby get access to /dev/cdrom.
I just upgraded my kickstart installation to FC 4 and now it seems that updfstab is removed, and I am unable to access my cdrom.
At the end of the installation (Congratulations... etc) I press Ctrl-Alt-F2 to get to the command prompt. If I try to mount the CD-ROM (tried /dev/hda-d) it fails. The /dev directory doesn't contain any hdx-entries and I have now run out of options.

I know the CD-ROM will come up as /dev/hdc if I reboot, but it doesn't seem like it is available at the end of the installtion.

Any clues?

Johnny Ljunggren
 
Old 06-15-2005, 01:16 AM   #2
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
In fedore theres a similar command for updfstab

fstab-sync

Updates the /etc/fstab file in response to HAL events


Try this and see if it works

Also in fedora they have moved out of /mnt/
and cd drives get mounted in /media/ directory by default.

Correct me if I am wrong

Cheers
Z
 
Old 07-21-2005, 11:29 AM   #3
yulunga
LQ Newbie
 
Registered: Jul 2005
Location: Leeds
Distribution: OpenBSD
Posts: 1

Rep: Reputation: 0
zulfilee


I added the fstab-sync to my post installation for kickstart and still seem to get a error
mounting the cdrom. This is my script please could someone advise ad to what I am doing wrong.

%post --nochroot
fstab-sync
mount -t iso9660 /tmp/cdrom /mnt/source
cd /
mkdir -p /mnt/source
cp -f /mnt/source/custom.tar /mnt/sysimage/root
cd /mnt/sysimage/root
tar -xf custom.tar
rm custom.tar
cp /mnt/sysimage/root/resource/rootprofile /mnt/sysimage/root/.bash_profile -f
touch /mnt/sysimage/root/firstboot.flag

Thanks in advance
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to run post-Installation kickstart scripts zoulo Linux - Enterprise 0 07-05-2005 03:26 AM
No access Mandrake installation in CDROM! akihandyman Mandriva 2 02-16-2004 04:52 PM
rh9 kickstart post install help stockcowboy Linux - Newbie 1 12-05-2003 11:45 AM
Kickstart Post-install tasks TheRealDeal Linux - General 0 09-03-2003 01:13 AM
Access CDROM for file copy at end of Kickstart install of MDK 9.0 Burke Mandriva 1 08-28-2003 01:58 PM


All times are GMT -5. The time now is 03:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration