Installing Fedora using Fedora - linux

I recently got a new hard drive and I want to install Fedora to it however the computer is old and can't boot from USB and I am unable to use a DVD.
I want to use my currently installed Fedora to install a new copy on the new hard drive.
I have the ISO with me. I am using the latest distro
Are there any ways I can achieve this?
Thanks in advance!

There is a way to boot an iso with syslinux
just for example from my syslinux.cfg,
LABEL slitaz.iso
LINUX memdisk
INITRD /slitaz.iso
APPEND iso
in the example, the iso (slitaz.iso) is in the root (/). I cannot tell on oath that will work for your iso, but you can try.
I did that too with grub,
setparams 'ISO'
set iso ="/slitaz.iso"
loopback loop $iso
linux (loop)/boot/vmlinuz-3.2.53-slitaz
initrd (loop)/boot/rootfs.gz
the two lines with (loop) are the one you can found inside your iso.
I don't remember if I had to install or set something for one or both cases.

Related

Surface book keyboard won't work in scientific Linux

I installed scientific linux 7.4(based on redhat 7.4) in my surface book. My touch pad is working correctly but the problem is the keyboard won't work in this OS. I also found that an external usb keyboard works correctly with it. I have Ubuntu and Windows beside this OS, but I don't have any problem with them. How can I fix this problem?
According to https://www.reddit.com/r/linux/comments/6ca920/ms_surface_keyboard_does_it_play_nice_with_linux/
you would need at least 4.10 kernel for the surface to work properly.
The kernel version in your system can be obtained by uname -rv in the terminal.
The easiest solution is to update the kernel / linux-firmware package from your distro package manager.
If this does not work, probably you would need to reconfigure or update and reconfigure the kernel (e.g. to the latest stable mainline from https://www.kernel.org/)
A nice guide for configuration can be found here https://www.dotslashlinux.com/2017/09/11/the-linux-kernel-configuration-guide-part-11/

ISO file path not an option when installing Linux on virtualbox

When installing Linux on a virtualbox with a windows 7 64bit host
I get the following screen
All the tutorials I have watched on how to install Linux on a virtualbox always skip this screen
I am using a iso file but I do not see an option to enter the path of said iso file
do I need to copy the file to a cd? or am I missing a setting for the virtualbox?
The way VirtualBox (or virtualization in general) works, is that when on the host (the Windows PC running the VirtualBox) you mount the ISO file as a CD/DVD drive, it will be shown as CD/DVD on the client (your Linux installation). The client won't see the difference.
So in that sense you are doing it correctly. However, you have the "wrong" installation ISO. The file you have mounted is "Oracle Linux R6 Update 5 UEK Boot ISO x86_64 V41364-01.iso" (if I googled correctly). So the question in your first screenshot asking about the installation image is to my understanding asking for where the actual installation data can be found. This would be either a DVD, another harddrive, local repository in LAN, or from the Internet. In your case it would be easier to use an installation media, which already includes the installation files, which would be "Oracle Linux R6 Update 5 x86_64 V41362-01.iso" (again if I googled correctly).
So to sum up, either download the full installation image (around 4 GB), or use the one you have and point the "url" to an image from the Internet.

How do I make a linux image which is of my current system?

I want a really minimalistic version of linux to run on my raspberry pi. I need nothing on it apart form the tools to make it work. I can then install the things I need such as python, nano, ssh etc.
Is there a version of linux like that? I was thinking ubuntu snappy but wasn't too sure.
Secondly. If i got it configured exactly how I wanted on my system, is it possible to convert it make to a .img file so that I could flash it onto an SD card to use exactly the same settings on 3/4 of my raspberry Pi s?
Thanks
If can try to debootstrap from Debian/ubuntu. this is the minimal set of packages you might have without too much hack.
If I remember correctly, it installs only 42 packages and you might expand this system with apt.
You can create a simple chroot to try using something like:
$ mkdir jessie-chroot
$ debootstrap jessie ./jessie-chroot http://ftp.debian.org/debian
For more information, you can see:
http://www.thegeekstuff.com/2010/01/debootstrap-minimal-debian-ubuntu-installation/

Installing software while running bootable usb

I am new to Linux so I have created a bootable usb drive with Linux Mint on it so that I can play around with it for a while before deciding if I want to install Linux on my harddrive.
I have created the pendrive with persistence so that I should have the ability to install software on it. However I can't seem to install anything.
I have downloaded the graphical linux postgresql installation file, given it execution permissions and then get the following error when I try to run it:
There has been an error
Error changing ownership of
/tmp/postgresql_installer_120403f9ba/lib/postgresql to root
I also downloaded the 7zip tar file, extracted it and tried to run the install.sh file. But nothing happens. Im just trying to see if I can get anything to install.
Im guessing either there's something with permissions that im not doing correctly, or it has something to do with the fact that im running linux from a usb drive.
As mentioned, im brand new to linux.
I have figured out what was required. I was trying to double click the install file from the GUI which wasn't working. I had to run it using sudo from the command line. Looks good now.

how to install linux OS from iso

Two questions, first question is, I want to start using Linux (the Lubuntu distro) as my operating system. I currently have Windows 7 but I don't want to dual boot or run Lubuntu in a virtual machine (which is what I've been doing).. I want to just uninstall Windows 7 and make Lubuntu my OS. Would I be able to do that with the Lubuntu ISO image file that the developers have on their website?
Second question is, I have a Windows 7 CD (which I used to upgrade from Windows Vista to 7). Once I make Lubuntu my only OS, am I able to switch back to Windows 7 with that CD? Do I just run the installation from the Windows 7 CD?
First question; Yes this is possible, you'll want to burn the ISO to a USB stick, then boot from your USB stick. Lubuntu will have an easy installation wizard from the live USB.
Here's a great guide for it.
Second question; You will not be able to do it directly with that CD, as having Vista as the main OS is a prerequisite for that CD to work. If you have a Vista installation CD laying around, then you can install that first, then do the Win7 upgrade.
I'll answer for you second question. You can do it.
But I not perfectly understood your first question. Would you like download an .iso file and install system from it?
P. S. Sorry for my English
There is no option of uninstalling windows.
Your best option, if you don't want to use windows anymore is to backup all your data and format the drive. The formating can be done via the ubuntu installer.
Steps:
1. backup all your data from the drive(partition) you will be formating
burn the iso to a cd/dvd
insert the cd/dvd into the cd/dvd drive and restart your PC
select boot from cd/dvd (by default the cd booting is on, but you may have to enable it in bios)
install ubuntu(the installation guide will guide you through the process)
enjoy Ubuntu
PS: you may want to consider intstalling ubuntu on another partition, this will enable you to choose the OS when you boot your PC

Resources