Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to install RedHat 7.x ( with last official patches ) on a Compaq 1850R while mirroring the root drives.
RedHat installs ok, and anaconda raids the scsi disks just fine:
-----
# fdisk -l
Disk /dev/sda: 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 255 2048256 fd Linux raid autodetect
/dev/sda2 256 510 2048287+ fd Linux raid autodetect
/dev/sda3 511 543 265072+ 82 Linux swap
Disk /dev/sdb: 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 255 2048256 fd Linux raid autodetect
/dev/sdb2 256 510 2048287+ fd Linux raid autodetect
/dev/sdb3 511 543 265072+ 82 Linux swap
-----
# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 sdb1[1] sda1[0]
2048192 blocks [2/2] [UU]
md1 : active raid1 sdb2[1] sda2[0]
2048192 blocks [2/2] [UU]
unused devices: <none>
-----
Now, I actually want to try to booting from each of the disks. :-)
Booting from /dev/sda works just fine. Booting from /dev/sdb yields:
"No OS found' from the BIOS.
Now, I've tried 'grub-install /dev/sdb' - this commad f**ks up the MBR on /dev/sda.
Then using the grub shell, I the tried:
-----
grub> root (hd1,0)
Filesystem type is ext2fs, partition type 0xfd
grub> setup (hd1)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1)"... 22 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 d (hd1) (hd1)1+22 p (hd1,0)/boot/grub/stage
2 /boot/grub/grub.conf"... succeeded
Done.
-----
At this point, when I boot off /dev/sdb, I simply get:
GRUB
on the console. It seems to me that grub fails to find the stage 2 files?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.