Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page Fedora Installation, Bugs/Fixes
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Closed Thread
 
Thread Tools Display Modes
Old 11-04-2006   #1 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 17,341
Send a message via Yahoo to devils casper
Thumbs up Fedora Installation, Bugs/Fixes

Fedora Core : Installation, Bugs/Fixes



Installation :

* For Dual Boot, create an Unpartitioned/Free space. You can use GParted for resizing existing Partitions. Don't Format newly created space. Leave it as Free, Unpartitioned. During installation, select "Use Free Space and Create Default Layout" option in partition section.

* In case, you have new Hard Disk OR you wish to install Fedora Core only ( wiping existing OS ), nothing to do.

Start Installation. Installer will do the Partitioning and Formatting stuff.

Boot Loader :

Dual boot is DEFAULT. Leave this section as it is. GRUB ( boot loader ) will recognize Windows OS.

Packages Selection:

A lot of essential packages are not included by default and its a bit problematic to install packages from DVD/CDs later on.
Select "Office and Productivity", "Software Development" and "Web Server". Click on 'Customize Now' button. Keep already selected packages and add ( tick checkboxes ) packages listed below :

* Desktop Environment -- KDE ( K Desktop Environment ).
* Applications ---
  • Graphical Internet -- thunderbird, gftp and kdewebdev.
    Sound and Video – k3b, mikmod
* Development -- KDE Software Development.
* Servers --
  • Server Configuration Tools.
    Windows File Server ( in case you need to share files with Windows computers).
* Base System --
  • Legacy Software Support,
    System Tools.
    X Windows System - switchdesk.
Installer took around 35 minutes to complete FC6 installation. Reboot. Adjust Display, Date & Time etc. i disabled SELinux and FireWall. I have standalone Home PC and i dont need these.
Create one user account and always use that account only. Never login as 'root'.

Fedora Core 6 installed. System is up an running !!

* A lot of Services run in background that a Home PC User doesn't use/need. Stop these services to increase system's overall performance. Click on System -- Administration -- Server Settings -- Services and enter root password.
Un-check checkboxes of these services. (in case, you are not sure, read 'Description' of each service. top-right Description box.)
----------------------
anacron, apmd, atd, avahi-daemon, bluetooth, cpuspeed, cups, cups-config-daemon, mdmonitor, nfslock, rpcgssd, rpcidmapd and sendmail.
----------------------

Click the save icon. click on Edit Runlevel in Menu and select Runlevel 3, uncheck boxes here too. save and exit.

Yum Configuration

* All baseurl lines are commented by default. Yum will throw an error 'cannot fine valid baseurl...'
Yum repo files are in “/etc/yum.repos.d”. Remove '#' sign before the baseurl line in all files.

* Install repo file of Freshrpms.net repository from here. ( a download dialog box will pop up on clicking 'here' link, Select open with 'Software Installer default' ). A lot of other repositories are available for FC6. Freshrpms is enough for me and i didn't install other repos.

* GUI of Yum ( Yum Extender ).
Code:
yum -y install yumex
i prefer Yum Extender than 'yum'. Yum Extender shows a list of installed/upgradeable/available packages.

Package for playing mp3, mpeg and .dat files.

Fedora does not support these out of box. I prefer 'xmms' for mp3 and xine for mpeg, .dat files.
Code:
yum -y install xmms xmms-mp3 
yum -y install xine xine-lib xine-skins
Flash :
Code:
yum -y install flash-plugin
OR download Flash 9 beta from here.

Install NTFS Write Support


Note: ntfs-3g package is pre-installed in Fedora 7. skip install ntfs-3g section.
Install ntfs-3g :
Code:
su -
yum -y install ntfs-3g
It will install ntfs-3g, fuse, and fuse-libs.

Now create a folder to be used as 'mount point' for NTFS partition.
Code:
mkdir /mnt/ntfs_p
Edit /etc/fstab file so the partition is mounted at startup
Code:
su -
gedit /etc/fstab
You can use any editor. vi, kate or kwrite etc.
Add this code in fstab file
Code:
/dev/sda1      /mnt/ntfs_p    ntfs-3g      defaults,umask=0 0 0
/dev/sda1 might not be the correct partition, depending on your setup. check it...
Code:
/sbin/fdisk -l
Change SELinux to "Permissive Mode" in order for ntfs-3g to work properly at startup.
Code:
gedit /etc/selinux/config
and change the line
Code:
SELINUX=restrictive
to
Code:
SELINUX=permissive
Save and reboot. You should be able to read and write to your NTFS partition now.


BUGS/Fixes



* Add/Remove ( pirut ) doesn't work with DVD/CDs.

You can't install packages from DVD/CDs. i thought Fedora Team will sort out this problem in FC6. They didn't.
Solution : For installing Packages from DVD

Put '#' sign before first baseurl line in three files fedora-core.repo, fedora-extras.repo and fedora-updates.repo in folder /etc/yum.repos.d

#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
add new line below it.
Code:
baseurl=file:///media/disk
---- create a folder 'disk' in /media
Code:
mkdir /media/disk
---- insert Fedora Core DVD and mount it
Code:
mount /dev/hdc /media/disk
---- clean 'yum' cache.
Code:
yum clean all
click on Add/Remove Softwares and install packages from DVD. for installing from internet again, put '#' sign before disk's 'baseurl' line and remove '#' before original 'baseurl' line.

For CDs, check these tutorials Tutorial1, Tutorial 2 written by src2206.

* No Option in GRUB to Bootup other installed Linux Distros.

like FC5, FC6 didn't recognize other installed *LINUX* distros. It recognized Windows though.
Solution :
Mount partition of other distro and copy 'title, root, kernel and initrd lines from its /boot/grub/grub.conf ( or menu.lst ) file and paste in Fedora's /boot/grub/grub.conf file.

* Yum throws an error “cannot find valid baseurl... “

Solution :
check "Yum Configuration" section above.



I didn't download and install a lot of packages. I will keep on updating/editing this thread. Members are Welcome to fill in install instructions for other packages and Bugs/Fixes.




casper
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.


Last edited by devils casper : 10-12-2007 at 04:00 PM. Reason: added Note in ntfs-3g section.
devils casper is offline  
Old 11-05-2006   #2 (permalink)
sandra_777
Just Joined!
 
Join Date: Jun 2006
Posts: 45
Wow ! awesome !
i am planning to install Fedora Core 6 and i was searching for this kinda tutorial only.

thanx
sandra
sandra_777 is offline  
Old 11-06-2006   #3 (permalink)
fedrickha
Just Joined!
 
Join Date: Nov 2006
Posts: 12
this tutorial is very much informative. thanx !

johny
fedrickha is offline  
Old 11-06-2006   #4 (permalink)
Redman
Super Moderator
 
Redman's Avatar
 
Join Date: Oct 2004
Location: Netherlands
Posts: 604
Good work!

Glued it
__________________
"Yoda of Borg are we: Futile resistance is. Assimilate you, we will."
Distributions in use: CentOS 5.2 and Scientific Linux 5.2
Registered Linux user #327830
100% on Linux since september 7, 2003 - now I am free!
Redman is offline  
Old 11-06-2006   #5 (permalink)
picasso_!!
Just Joined!
 
Join Date: Nov 2006
Posts: 2
hiya devils_casper !

i followed your tutorial and installed FC6 last night. everything worked perfectly.
installed xine, xmms too.

i tried to install all available updates through Yum Extender. it didn't work. then i tried 'yum upgrade' in gnome-terminal.
i got these errors:

Loading "installonlyn" plugin
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30977)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 85, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 199, in getOptionsConfig
errorlevel=opts.errorlevel)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 125, in doConfigSetup
self.conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 597, in readMainConfig
vars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 656, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed


yum is not installing anything now. please help.

thanks a lot !!
Polly
picasso_!! is offline  
Old 11-06-2006   #6 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 17,341
Send a message via Yahoo to devils casper
rpmdb: PANIC: fatal region error detected; run recovery

its a BUG in latest Yum. it is corrupting rpm database on upgrading system.
execute this command as 'root'
Code:
rpm --rebuilddb
this command will rebuild the rpm database. try to upgrade again.




casper
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline  
Old 11-06-2006   #7 (permalink)
anthq
Just Joined!
 
anthq's Avatar
 
Join Date: Jun 2006
Posts: 62
Send a message via AIM to anthq
i accidentally didnt select customize now as i usually do - is there an easy way to do the same thing as the installer does to add those packages on the dvd rather than typing yum install like crazy?

was theat link for the dvds for yum wha im looking for, then do add/remove?
anthq is offline  
Old 11-06-2006   #8 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 17,341
Send a message via Yahoo to devils casper
Quote:
Originally Posted by anthq
was theat link for the dvds for yum wha im looking for, then do add/remove?
yes ! follow instructions given in that link. Add/Remove will Fetch data from DVD.

EDIT : i removed that link and posted solution here only, in first post.



casper
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline  
Old 11-06-2006   #9 (permalink)
picasso_!!
Just Joined!
 
Join Date: Nov 2006
Posts: 2
Quote:
Originally Posted by devils_casper
rpmdb: PANIC: fatal region error detected; run recovery

its a BUG in latest Yum. it is corrupting rpm database on upgrading system.
execute this command as 'root'
Code:
rpm --rebuilddb
this command will rebuild the rpm database. try to upgrade again.




casper
Thank you very much Casper ! it worked.
Polly
picasso_!! is offline  
Old 11-09-2006   #10 (permalink)
djmcmahon
Just Joined!
 
Join Date: Nov 2006
Posts: 4
FC6 gotchas

In hopes that others may benefit from my experience:

1. LCD monitor worked fine during install, but video mode selected by graphical boot-up was unusable. I still don't know why (frequency, resolution?). Solution was to re-install using character mode, and configure the display using system-config-display from the command line. Then startx can be used. Another option would be control-alt-F1 after a failed graphical install, this is supposed to bring up a character mode console where you should be able to fix the problem. Another option from character-mode console would be to edit xorg.conf and force the resolution to something that works on your screen.

2. USB keyboard doesn't work with boot loader. Have a PS2 keyboard handy or you won't even be able to press enter to start the install process. Afterward the USB keyboard works OK. Note, however, that Grub won't accept input from it, so if your system is dual-boot, you will need to keep the PS2 keyboard around. It is possible some BIOS setting would get around this problem.

3. USB keyboard not compatible with PS2 mouse. This a little-known 2.6 kernel bug of some sort. Apparently if you do not have a PS2 keyboard hooked up, and the kernel sees your USB keyboard, then it doesn't bother looking for a PS2 mouse. You will need a USB mouse as well. Or, you need to make sure a PS2 keyboard is hooked up during the boot-up when the system is discovering devices.

4. IPV6 turned on unless you disable it during the install. Big headache to edit scripts in /etc to fix this after the install. IPV6 creates problems with many types of connection locally to the box, and also can make DNS resolution really slow.

5. Software firewall turned on by default, again might be possible to disable during the install. You will not find it in the control panel, but it might be on the task bar menu. Failing that, system-config-securitylevel will let you configure ports to let through (e.g. 80 for Apache), or disable it, or whatever. This also lets you disable SELinux if you don't want it.

6. INET services not installed by default. You have to yum install xinetd and then configure them by editing scripts in /etc/xinetd.d. Legacy unsecure services such as rlogin, rsh are not available unless you install an rpm that delivers them.

7. X windows dpi may not work properly despite edits to xorg.conf. If you need to control it you will have to edit the right script in /etc/X11/xdm to force -dpi 100 onto the X server command line.

8. Grub default boot timeout is short, 5 seconds. This is shorter than the time it takes some LCD monitors to sync on DVI, giving the appearance that the system never gave you a chance to pick an OS in a multi-boot environment. Fix by editing /boot/grub/grub.conf and pick a longer timeout.

9. Sound is now on /dev/snd/*, and is protected except for root. You may need to chmod 666 /dev/snd/* to gain access as a normal user.

10. If you are behind a proxy server, yum will not work from the command line, and the GUI tool (pirut, launched from the task bar) also will fail. Setting the proxies in the control panel doesn't appear to fix this. What does fix it is to set environment variables http_proxy and ftp_proxy to something like http://yourproxy.yourdomain.com:80. Note that the leading http:// and trailing port number must be present. After this yum will work from that command line. You can also launch pirut from the command line and it will work.

11. The printing part of the control panel may fail with a CUPS error. I got around it by running system-config-printer instead. After this, the control panel sees the printer configured with the other tool and it appears to work OK.

12. In the Users and Groups GUI, you will not see "root" or any other user. If you want to change root's shell from "bash", you need to enable the tool to see "system users" from a drop-down menu.

13. Some legacy apps, including mozilla and acroread, will not work unless you install some fix-up libraries. yum install compat-libstdc++ will fix mozilla. Installing xorg-x11-deprecated-libs-6.8.1-12.i386.rpm will fix acroread. You may need some others as well.

14. Some apps that have been around a long time are missing, like xcalc. There is a list here: http://ftp.x.org/pub/unsupported/programs/

15. emacs was not installed by default. yum install emacs fixes it.
djmcmahon is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to a create a customized installation DVD of fedora? johnnylinux Redhat / Fedora Linux Help 0 04-17-2007 12:13 PM
customising one cd installation on fedora core 2 abhi2778 Installation 1 08-14-2006 11:06 PM
Error during installation of Fedora Core 1 mauricioFC1 Redhat / Fedora Linux Help 4 08-09-2005 09:54 PM
Fedora installation hangs neotek64 Redhat / Fedora Linux Help 2 10-14-2004 01:12 AM
Fedora 2 network installation help plz archon_aus Installation 3 10-12-2004 06:35 AM


All times are GMT. The time now is 06:13 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0