Installing FreeBSD from a USB - freebsd

so I have a lenovo laptop i7 with two hard drives. My ssd which boots windows on UEFI, and my second a hybrid hard drive. I created two partitions on my second hard drive. One for storage for my windows drive, and the other(500gb), where I would like to install FreeBSD. I made the two partitions in windows, and burned the FreeBSD memstick file onto a usb and booted. When I get to the installation menu, it does not show all my disks under manual installation. It only shows my USB as a partition, which is 8gb. If I try to do the guided installation and select from partitions. I get an error that says out of index 5.
Any Ideas why this is occurring?

Related

Install Linux on flash disk like internal disk

guys I have an issue with Linux
I wanna install Linux on flash disk like internal disk
actually I wanna install it with presentation space
I did it but it limited with 4 gig space.
I wanna use all space of flash disk and do my works on it like an internal partition
like a really OS
In the normal installation process, you will be asked to select the partition on which you would like to install Linux.
The option for bootable USB will be visible with a warning sign. In some flavours, it may be hidden however, you can still install it. Simply click on the USB drive partition and Linux can be installed on it.
Make sure you have at least 16GB USB Flash drive to run your Linux smoothly.

Migrate Linux server to Windows

apologies for vague description but essentially I have a Linux box (Ubuntu) which has three drives. The first drive is formatted with a Linux format (I'm not sure which one but probably irrelevant) and the second and third drives are NTFS as they have been shares on a windows network.
Can I just reformat the first drive to NTFS and install windows? Would I expect windows to see drives 2 and 3 as they are already NTFS drives?
Thanks
Backup/Image your system before doing any changes, if the system is critical.
Yes, begin Windows installation process. There will be a point in the installation where you will be asked to select the drive/partition on which Windows should be installed. Your first drive will be listed. You can wipe it off and choose the entire drive for Windows. Default NTFS will be created for you.
If you have trouble, create gparted live CD and boot system with it. It will allow you to wipe off the first drive. Then install Windows on that drive.
Yes, Windows will see drive 2 and 3.
Also, you will get some nice help on https://serverfault.com/ if there are complications with disk setup (RAID/LVM etc.).

recover windows drive data after linux installation changes drive to ext4

I had windows installed in system and have 4 drives in which C:/ is windows and other drives have my data.
then I install linux in my C:/ drive
but at installation time it shows only two drives,
one had equal size which had C:/ drive so I installed linux in that drive.
Other had equal size of rest of drives which i did not touch but linux change its file system to ext4.
After installing linux I did not get my other drives.
in gParted it show that other drive have partition /dev/sda4 but not mounted and have 150GB used out of 183 GB. that's mean data of my other drive are in that partition.
Please help me to recover my data.
thanks in advance.
Quoting from Debian official site :
On a GNU/Linux system there's no necessary correspondence between directories and physical
devices, as there is in Windows where each drive has its own directory tree beginning with
a letter (such as C:)
So , given that the other drive is present, judging by the output of gparted as you said, you simply have to mount the partition(s) on a folder of your desire.
Check the Chapter 13 of debian tutorial on how you ll be able to accomplish this.
P.S You do not need Windows for this proccess.

How can we use Linux from a small storage pen drive? Does it work on micro-controllers also?

I generally hear that LINUX OS can be downloaded on flash, pen drive (floppy disk?) etc. How we can do that?
I have RHEL 5.4 source code - so how can download it into pen drive and how much space is required?
What other functionality I can add apart from the OS - so that when I boot from that storage device I can make use of them?
Can we download Linux OS into micro-controllers also?
I generally hear that LINUX OS can be downloaded on flash, pen drive (floppy disk?) etc. How > we can do that?
If you can't get it to work on your own, you can buy a ready made Linux on a USB drive from
a site like http://www.osdisc.com or http://www.cheapbytes.com
Not all PCs, especially older PCs, can boot from the USB Drive. Even some newer PCs are beginning to ship with security features that can interfere with booting code. When it does work, you have to find out the proper way to boot the USB drive. You might have only a few seconds during reboot to enter the right key, or it will boot Windows (if Windows is installed). The key to get to the BIOS Boot Menu might be delete or escape or F10 or some other key (varies with PC motherboard manufacturer). A message on the screen that flashes by rather quickly might mention keys you can press. Boot to a specific device or changing boot order can also often be found in the BIOS setup.
There is a linux utility called unetbootin that will create a USB drive that will boot linux. It does not create a USB boot drive from a source code distribution, but rather from an ISO file representing a live CD or the live CD itself.
Since large USB drives (e.g. 32GB) are relatively inexpensive, if you want to compare systems or have multiple systems there is a way to have multiple linux and other operating systems on one USB drive and be able to choose which to boot into. See, for instance, http://www.pendrivelinux.com/ which has a wide variety of procedures for making a bootable USB using either windows or Linux to set up the USB and booting a variety of systems.
I have RHEL 5.4 source code - so how can download it into pen drive
and how much space is required?
RHEL 5.4 is a bit old. You need the Live CD, if there was one.
The ISO file can take up 600+MB. You want space left over to use the system. 2GB for the pen drive is OK. Sometimes you can get by with less.
What other functionality I can add apart from the OS - so that when I
boot from that storage device I can make use of them?
Upon boot the operating system will often recognize sound cards, other usb devices, the hard drives, etc. You need to know how to use these things within Linux, and how to enable them if they are not configured. Some Linux distributions have a place to put packages that are to be autoinstalled when a USB pen drive based system initializes. In this way you can "install" software from the distribution archives that are not included on the standard live system, even if you don't have internet access.
Can we download Linux OS into micro-controllers also?
People run it on raspberry pi and such, but the versions of Linux on non-PC hardware that has low memory are often quite tiny compared to a desktop version. They can be tiny enough to be challenging to work with or expand.

How to install SmartOS in a Linux KVM instance?

I need to test a program on SmartOS. I don't have any spare systems lying around so I wanted to install it into a KVM image on my GNU/Linux distribution. I've installed Solaris 11 that way and that worked pretty well.
I downloaded the ISO and booted it inside KVM and the installation appeared to work fine. However when I boot the virtual machine it always starts to come up and says:
Booting from harddisk ...
and then it just sits there, with the virtual CPU pegged, and never proceeds any further. No key presses appear to do anything (except Ctrl-Alt-Del which starts the boot again, giving the same result).
I created my KVM from virt-manager with 2G RAM, 2 CPUs, 50G of disk space using a "raw" disk format, and selected "Solaris" / "OpenSolaris" as the OS type.
I don't have a copy of VMWare and it seems really expensive to get one for Linux, so I don't think using the SmartOS VMWare image is an option for me.
Anyone have any hints? Google shows me lots of information about creating Linux instances inside SmartOS KVMs, but nothing on doing it the other way.
I figured it out with some help from the mailing list. SmartOS is a PXE booting operating system: it doesn't actually install to the harddisk. When my installation was complete and the VM rebooted KVM automatically unmounted the ISO file from my virtual CDROM, so on boot it was looking for a PXE image to boot from and couldn't find it.
All I had to do was re-attach the ISO file to the virtual CDROM and it worked fine after that. Ugh.

Resources