Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Hi, I am trying to setup grub to boot my Windows drive, but not sure exactly how to go about it. I have found some tutorials on how to do this, but they deal with having the two os's on the same drive, where as mine are on two individual SATA drives. I know I need to edit the /boot/grub/menu.lst file, but not sure of the exact syntax required. Any advice would be greatly appreciated, Thanks.
Just updating, I have added an entry to menu.lst, which is:
title Windows
root (sd2,0)
chainloader +1
Windows is located on /dev/sdc1, so I think this should be correct, but when I boot to it I get a grub 23 error: unable to parse number.
Last edited by krimsonking; 08-15-2007 at 02:23 AM.
Reason: further info
Hi, after making the changes suggested I now get an error saying that the disk is not bootable, although I know it is. Below is the readout from fdisk:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 262 2104483+ 82 Linux swap / Solaris
/dev/sda2 * 263 2873 20972857+ 83 Linux
/dev/sda3 2874 9729 55070820 83 Linux
Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 14594 117218304 7 HPFS/NTFS
Disk /dev/sdc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 7097 57004018 7 HPFS/NTFS
/dev/sdc2 7140 14593 59874255 7 HPFS/NTFS
Disk /dev/sdd: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 30402 244196352 c W95 FAT32 (LBA)
Maybe sdc does not correspond to hd2 because of BIOS settings? From the GRUB menu, select the windows boot line, press E, select the rootnoverify line and press E again. Delete the last bits so that you have only
rootnoverify (hd2,
and use the tab key to find out how that disk is partitioned. If you don't see any partitions at all, you can be sure that sdc is hd1 (or even hd3) and not hd2. Substitute
rootnoverify (hd2,
with
rootnoverify (hd1,
or
rootnoverify (hd3,
and retry completion.
If you do see the windows partititions this time, you need to edit GRUB to use
rootnoverify (hd1,0)
or
rootnoverify (hd3,0).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.