foss_gnu/linux
DESCRIPTION
GECH, CS Dept., session on FOSS and GNU/Linux.TRANSCRIPT
![Page 1: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/1.jpg)
GNU/Linux installationand
Usage of FOSS
![Page 2: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/2.jpg)
FOSSFOSS stands for Free and Open Source software.
Satisfy 4 degrees of freedom as stated by FSF-
• Freedom to run the program for any purpose• Freedom to study how the program works, change it
to make it to do what you wish.• Freedom to redistribute copies to help others.• Freedom to distribute copies of your modified
versions to others.
http://www.gnu.org/philosophy/free-sw.html
![Page 3: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/3.jpg)
Why use FOSS?
• The availability of the source code.• The right of code modification,
improvement and redistribution.• Large base of developers and users.• Have an alternative.• Free marketing and support.
![Page 4: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/4.jpg)
Why FOSS is not yet popular?
• General lack of awareness about the Free Software and its existence.
• Hardware vendors usually bundle Windows with their systems and do not offer choice to the customer!
• False thinking of less user friendliness in FOSS.
![Page 5: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/5.jpg)
Benefits of Using FOSS• Reducing total cost of Ownership.
• Security
• Reliability/Stability
• Piracy, IPR
![Page 6: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/6.jpg)
FOSS tools for CS academicsProprietary Software
Free Software* Download
Oracle 11g Database MySQL http://dev.mysql.com/downloads/
Xylinx GNU Electrical- sophisticated electrical CAD system
http://www.gnu.org/software/electric/
IIS Apache httpd.apache.org/download.cgi
MS VB Gambas- Development environment based on a Basic interpreter with object extensions
http://gambas.sourceforge.net/en/main.html
![Page 7: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/7.jpg)
FOSS alternatives for everyday useApplication area
Proprietary Free Software*
Download
Operating system
MS Windows Fedora GNU/Linux
www.fedoraproject.com/download
Office Suite MS Office Openoffice.org download.openoffice.org/index.html
Email client Microsoft Outlook
Mozilla Thunderbird
http://www.mozilla.com/en-US/
Internet Browser
Microsoft Internet Explorer
Mozilla Firefox http://www.mozilla.com/en-US/
Media Windows Media Player
VLC Player http://www.videolan.org/
Graphics Adobe Photoshop
GIMP http://www.gimp.org/downloads
![Page 8: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/8.jpg)
GNU/LinuxMany distributions(distros) available to chose from-• RedHat• Fedora• CentOS• Debian• Ubuntu• OpenSuSe…..http://distrowatch.com/
![Page 9: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/9.jpg)
Installation
First things First
Know about your PC/Laptop/Notebook-
• Processor type and model(Intel family/AMD)
• Processor speed(normally in Ghz)• RAM size(Physical Memory)• Hard disk drive size• Graphics Memory
![Page 10: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/10.jpg)
BIOS settings to Boot from media
• Go to BIOS by pressing del key before boot.
• Go to Advanced BIOS features.• Select your first boot device.• If you prefer to boot from CD/DVD
media, select it as your first boot device followed by HDD or Removable disk.
• Save and reboot by pressing F10P.S : This setting vary from machine to machine depending upon your vendor.
![Page 11: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/11.jpg)
Getting StartedInsert and boot from your media to get this screen-
Now simply press Enter to proceed.
![Page 12: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/12.jpg)
Wait till the next screen shows up..
![Page 13: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/13.jpg)
Select “Skip” and press Enter
![Page 14: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/14.jpg)
Wait till the graphical screen loads..
![Page 15: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/15.jpg)
From here on, its straight forward..
![Page 16: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/16.jpg)
Select language
![Page 17: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/17.jpg)
Click next or type your own hostname
![Page 18: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/18.jpg)
Select required time zone
![Page 19: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/19.jpg)
Enter your Root password
![Page 20: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/20.jpg)
Click on Yes and continue..
![Page 21: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/21.jpg)
This is important part of installation!
Here you need to select Create custom layout if your installing alongside Windows
This screen shows up in fedora 13.
![Page 22: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/22.jpg)
Make sure you’ve selected proper method and select “Write changes to
disk”.
You may lose your data if you select improper method here..!!
![Page 23: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/23.jpg)
Another important stage!!
Select “Customize now” and click “Next”..
![Page 24: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/24.jpg)
Don’t forget to select your packages!!
![Page 25: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/25.jpg)
Only after finishing the selection of all your required packages click “Next”..
![Page 26: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/26.jpg)
All the selected packages will install on its own.
![Page 27: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/27.jpg)
Okay, this is it.
Now you’re done with all the housekeeping.!
Sit back,
Have a cup of Coffee/tea/whatever you want and relax.
Comeback after sometime to see the following screen..
![Page 28: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/28.jpg)
Click “Reboot” and eject your installation media.
Don’t forget to eject installation media before system reboots…
![Page 29: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/29.jpg)
And your new GNU/Linux boots..
![Page 30: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/30.jpg)
Little Post installation work..
Again, its just straight forward, simply click “Forward” to continue..
![Page 31: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/31.jpg)
Create new user by filling required fields.
![Page 32: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/32.jpg)
Set correct Date and Time..
![Page 33: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/33.jpg)
Now you’re totally done with this! Simply click “Finish” to load the user
login.
![Page 34: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/34.jpg)
Select “user” and enter password to load your home
screen.
![Page 35: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/35.jpg)
Let your Linux journey begin…
![Page 36: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/36.jpg)
Installing Packages/Software
Two ways for RedHat based systems-
• RPM(RedHat Package Manager)
• YUM(Yellowdog Updater, Modified)
![Page 37: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/37.jpg)
Using RPM• Know about your kernel and architecture
type. (Use “uname – a” command)• Download the required rpm file from
internet(rpm.pbone.net , rpmfind.net)• Install using command-$su – c “rpm –ivh filename.rpm”• Press Enter and give your root password
and wait until the prompt returns.• Sometimes this may result in dependency
problems if they’re not resolved.
![Page 38: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/38.jpg)
Installing freeglut-devel using rpm
![Page 39: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/39.jpg)
Using YUM• More easier way to install any
software/package.• No need to worry about type of
kernel and architecture.• But you need internet connection
during installation.• Command is-# yum install pkgname
![Page 40: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/40.jpg)
Installing freeglut-devel using YUM
![Page 41: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/41.jpg)
Installing VLC player in Fedora
Use the following commands-
$ su –
# rpm –ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
# yum install vlc
![Page 42: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/42.jpg)
Virtualization
![Page 43: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/43.jpg)
VirtualizationYou can use virtualization software to install an Operating system inside an existing an Operating System!
Available virtualization software are-
• Virtual Box• VMware Player
![Page 44: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/44.jpg)
Virtual BoxInstalling Virtual Box is as simple as installing any simple software.
But while installing Operating system inside Virtual box, be sure to allocate space for your virtual drive outside host machine drive.
You can install as many Operating systems as you wish unless you won’t run out of memory.!
Only .iso image of the OS is enough to install it and no need of external cd/dvd while installing in virtual box.
![Page 45: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/45.jpg)
Creating new virtual machine in VB
![Page 46: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/46.jpg)
Select your OS from top down menu and give some name to the virtual machine.
![Page 47: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/47.jpg)
Set the RAM size for your VM
![Page 48: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/48.jpg)
Simply click “Next”
![Page 49: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/49.jpg)
Again “Next”..
![Page 50: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/50.jpg)
Once again “Next”..!!
![Page 51: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/51.jpg)
Here you can set the VM size and click on folder icon.
![Page 52: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/52.jpg)
Store your VM outside Host machine drive.
![Page 53: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/53.jpg)
Its done, click on Create to create your VM
![Page 54: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/54.jpg)
Now start your VM from Virtual Box main window to get this first run
wizard.
![Page 55: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/55.jpg)
Select installation media or browse to your iso media file by clicking on folder
icon.
![Page 56: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/56.jpg)
After selecting installation media, you can start your VM.
From here on, the normal installation of fedora begins.
![Page 57: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/57.jpg)
LaTeX
![Page 58: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/58.jpg)
LaTeX
• LaTeX is a typesetting system (not a word processor).
• It is most suited to produce reports, scientific and mathematical documents of high typographical quality.
![Page 59: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/59.jpg)
Why not MS word?
![Page 60: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/60.jpg)
Advantages of LaTeX over WYSIWYG
• Complex structures such as footnotes, references, table of contents, and bibliographies can be generated easily
• Professionally crafted layouts are available
• Users need only to learn a few simple commands, which specify the logical structure of a document
• LaTeX is highly portable and free
![Page 61: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/61.jpg)
LaTeX Input Files• The input for LaTeX is a plain ASCII text
file.• You can create it with any text editor.• It contains
– the text of the document– commands which tell LaTeX how to typeset the text.
• Spaces • Special Characters • LaTeX Commands • Comments
![Page 62: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/62.jpg)
LaTeX Commands• LaTeX commands are case sensitive
and take one of two formats:
– They start with a backslash \ and have a name consisting only of letters.
– They consist of a backslash and exactly one special character.
![Page 63: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/63.jpg)
• Some commands take a parameter which has to be given between curly braces { } after the command name.
• Some commands support optional parameters which are added after the command name in square brackets [ ].
• The below example uses some LaTeX commands.
This is \emph{emphasized} text.
Please start a new line right here!\linebreak Thank you!
This is emphasized text.
Please start a new line right here!Thank you!
![Page 64: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/64.jpg)
Comments• When LaTeX encounters a %
character while processing an input file, it ignores the rest of the present line.
• This is useful for adding notes to the input file, which will not show up in the printed version.
This text is processed. % A comment isn’t
This text is processed.
![Page 65: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/65.jpg)
A Simple LaTeX Document
\documentclass{article}\begin{document}This is some sample text.\end{document}
![Page 66: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/66.jpg)
Sections\section{Section Title}
\subsection{Title}
\subsubsection{Title}
![Page 67: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/67.jpg)
Including Graphics• LaTeX2e includes a standard package
for including PostScript graphics in your document. Load it using
\usepackage{graphics}
• A figure can be included using, for example,
\begin{figure}[ht]\begin{center}\includegraphics[width=140mm]{mypic.ps}\end{center}\caption{An example of a figure.}\label{fig:example}\end{figure}
![Page 68: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/68.jpg)
Sub Script and Super ScriptGuideDr.K.C.Ravishankar_{B.E. M.Tech., Ph.D.}x^{2}
![Page 69: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/69.jpg)
\pagestyle{myheadings}\makeheadrule{myheadings}{\textwidth}{0.4pt}\makefootrule{myheadings}{\textwidth}{0.4pt}{}\makeoddhead{myheadings}{\small{Android Technology}}{}{\small{Chapter \thechapter}}\makeoddfoot{myheadings}{\small{Dept Of CS \& E, GEC, Hassan}}{}{\small{\thepage}}
![Page 70: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/70.jpg)
Output Formats• .dvi Device Independent• .ps Post Script• .pdf PDF• .rtfRich Text Format• .html HTML• .xml XML
![Page 71: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/71.jpg)
NCTUnsNetwork Simulator
![Page 72: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/72.jpg)
NCTUns• NCTUns network simulator is a kernel
that needs to be installed alongside the fedora kernel.
• First, copy the NCTUns tar file onto your system and extract it.
• cd(change directory) to the directory where the tar file was extracted.
• Execute the install.sh file in the NCTUns directory.
![Page 73: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/73.jpg)
NCTUns 5.0 in fedora 10
Press Enter if it is prompted anytime in the process of installation and after installation is completed, reboot the system.
![Page 74: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/74.jpg)
NCTUns kernel can be seen alongside fedora kernel
![Page 75: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/75.jpg)
Post installation work with NCTUns
• Login to NCTUns kernel and edit the /home/user/.bashrc file
• Add the following lines to this file-export NCTUNSHOME=/usr/local/nctunsexport NCTUNS_TOOLS=$NCTUNSHOME/toolsexport NCTUNS_BIN=$NCTUNSHOME/binexport PATH=${NCTUNS_BIN}:${PATH}• Clear iptables with this command-$iptables lo 127.0.0.1• Reboot the system again and use the
network simulator.
![Page 76: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/76.jpg)
When things go wrong
![Page 77: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/77.jpg)
File system check errorBlack screen shows up saying “Give root password for maintenance (or type Ctrl D to Reboot)
![Page 78: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/78.jpg)
Enter root password to get the prompt# Now simply type “fsck” and press Enter# fsck
Press y when it asks-fix errors<y>?
Type “reboot” when the prompt returns# reboot
Now fedora boots normally if the errors are fixed by fsck.
![Page 79: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/79.jpg)
Rescue the lost Fedora• This works only if the partition of
Fedora is not formatted or deleted while installing Windows.
• Need original type of fedora media to rescue.
• Boot your media to get the following screen and select “Rescue installed system”.
![Page 80: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/80.jpg)
Select “Rescue installed system” and press Enter
![Page 81: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/81.jpg)
Select continue and press Enter
![Page 82: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/82.jpg)
• Start the Grub shell with the grub command:# grub
• This will show the grub shell like this-grub>
• Use the find command to locate the partition containing the boot files by searching for /boot/grub/grub.conf . Grub will report the partition using its own syntax:
grub> find /grub/grub.conf
(hd0,0)
![Page 83: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/83.jpg)
• Use the root command to configure the partition from which the boot files are to be loaded (use the partition ID from last step):
grub> root (hd0,0)Filesystem type is ext2fs, partition type 0x83
• Use the setup command with this drive ID to install the Grub bootloader code:
grub> setup (hd0)
• Quit the Grub shell with quit:grub> quit#
![Page 84: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/84.jpg)
• Type reboot to get back your Fedora-
# reboot
• Now fedora boots along side with Windows like it was before.
![Page 85: FOSS_GNU/Linux](https://reader033.vdocuments.net/reader033/viewer/2022061103/5406bef48d7f7288088b473d/html5/thumbnails/85.jpg)
Thank You…Any questions..??
If there’s any problem with the use of GNU/Linux and FOSS, then feel free to ask.
http://facebook.com/groups/techgech
We’re on Facebook-
Email: [email protected]