Re: dual boot test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chris.

Thanks fo.r the reply
.
The principle reason for doing/testing dual boot is to have the
ability to be able to do a remote reinstall for a fresh OS on a remote
box. If you know of a way to accomplish that, I'm more than willing to
hear it!!


Everything I've seen regarding doing reinstalling of OS, requires
having access to the box, with fresh media.

This is really intended to allow me to detect if the "base/master"
system has been hacked, and then to immeadiately switch to the minimal
OS/system, which would then invoke a netinstall for the hacked
system/OS to have a clean system.

So, the test is to have a dual Centos process, which is what I'm
looking to implement right now.

Here are the current steps I've used, feel free to tell me where I've
gone off track.

-Centos6.5
-Lenovo
-250G Drive


OS1
-insert the centos 6.5 dvd
-select the fresh install
-basic storage device
-Fresh Installation
-Create Custom Layout
  (-Please Select Device)

LVM Volume Groups
VolGroup     237972
lv_apps      10000  /apps
lv_backup   10000  /backup
lv_home     10000   /home
lv_root        51200  /
lv_swap      3824
free           127948

Hard Drive

sda
   sda1  500  /boot   ext4
   sda2 237974  VolGroup   physical volume (LVM)

Now, at this point, I get a valid OS/grub.conf

However, when I try to install the 2nd OS is when I run into issues..

So, here's what I'm trying to figure out. When I get to the (Please
Select Device) page, what do I have to insert to create the minimal
OS/system for the 2nd OS install.

For the 2nd install, I'm looking to implement a system that has the
backup/apps/home/root dirs (mt points)

Do I have to have completely separate partitions for each of the OS
installs? If I do, how/where do they get created?

I think this is close, but again, without really knowing how to do
this, one could spend hours/days on this!

Thanks




On Fri, Dec 27, 2013 at 5:43 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
> Do over, missing new line:
>
> hidemenu
> title Centos (2.6.32-431.e16.x86_64)
>   root (hd0,0)
>   kernel /vmlinux-2.6.32-431.e16.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 rd_LVM_LV=VolGroup/lv_root  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
>   initrd /initramfs-2.6.32-431.e16.x86_64.img
>
> title Centos2 (2.6.32-431.e16.x86_64)
>   root (hd0,0)
>   kernel /vmlinux-2.6.32-431.e16.x86_64 ro root=/dev/mapper/VolGroup-lv2_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 rd_LVM_LV=VolGroup/lv2_root  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
>   initrd /initramfs-2.6.32-431.e16.x86_64.img
>
> Probably best to use this one in case email messes up the lines or whatever.
>
> http://ur1.ca/g9s4s
>
> Also note that for grub2, hd0,0 becomes hd0,1. And all the dracut notations are different. Oh, and grub.cfg is no longer supposed to be directly edited, you're supposed to use /etc/default/grub and grub2-mkconfig -o /boot/grub2/grub.cfg which creates grub.cfg from scratch and replaces it based on what it finds installed.
>
> Chris Murphy
> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux