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!
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.
Ok let me understand this: You have installed Suse but you cannot boot to SUse without your Suse-CD? And then you should choose install from the options it is giving you?
Is there an option with windows besides the install suse? You see menu when you log normally without SUse-CD?
From what you are saying maybe you have a live-cd (which runs as normal stand alone operational system) with install option? I am not familiar with suse live cds but your case sounds peculiar enough!
You can use another live cd like Knoppix to understand whether you ave installed Suse or not. You can alternatively downlod a windows tool to look through windows for linux partions and files like http://http://www.diskinternals.com/linux-reader/
Of course if you don't find any linux partition you didn't install anything.
If grub is placed on the MBR on the Linux drive, you have to go into your BIOS and change to this drive. Really do not need put grub on the MBR on the Windows because it will create future problems. Leave Windows MBR alone and just fool around with the Linux drive.
Please post your /boot/grub/menu.lst.
There are many ways to boot to a Windows disk using grub. The following is the way I use for Windows 2000.
title Windows 2000
map (hd0) (hd1)
map (hd1) (hd0)
The first map command takes hd0, my Linux drive, and places as hd1, the Windows drive. The next map command takes hd1, the Windows drive, and places it as hd0. The chainloader command helps loading different boot loaders like from DOS or Windows.
its definality not a live cd coz it installed on my hard drive, when i altered my bios to boot from my IDE hard drive and not my sata hard drive it didnt do anything and the sata disappered out of my bios. i can boot SUSE but have to do it from the install dvd, once its running it works fine and i can see both hard disks in my computer in SUSE.
Sounds as though you may want to use the Windows Boot Loader to boot Linux.
Boot with the Suse CD, and find your first Linux partition's name.
Look for mounted on /boot or if /boot does not exist, / in right column, and filesystem in left.
Your drive label will be in left column, example (/dev/sdb*), where * is some number. Your first partition is the lowest number, for example /dev/sdb1.
This is probably where your bootloader is installed. Now, use some filesystem you can write to, such as a USB flash drive. Mount the USB flash drive, and issue (using example /dev/sdb1 as partition where grub is installed)
This will copy the first 512 bytes on your boot partition. Now boot into windows, and place the file suse.bin that you created on the USB drive on your C: drive in windows. Show your hidden files in windows, and located in C: there will be a file named boot.ini. Add the following line to the end of the file on a line by itself:
I think Electro's advice is a little more accurate, but incomplete. Boot back into Suse and have a look at the menu.lst, it should be in /boot/grub/menu.lst, make sure the entry for Windows has the map sections Electro mentioned, also ad "makeactive" before the "chainloader +1", you don't need the (hd1,0) in the chainload entry, only in the rootnoverify entry. For example:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
If your distribution appears to use "rootnoverify" rather than just "root", than use rootnoverify. There may be a problem with having the drives on two channels with this example, should dig into that part. Because Windows may be in the primary position on the other channel, not sure if the bios will compensate.
Then to install grub to the hda (primary IDE drive), issue command as root:
Last edited by Junior Hacker; 04-08-2007 at 05:18 AM.
ive been playing around with the install cd coz what i need to do is to install grub over the windows boot loader, when i go on the booting option on the install screen i can install the boot loader in a custom boot partion it gives me options of /dev/hda1 to /dev/hda7 but also /dev/sda/2 which is my sata hard drive is this where the windows boot loader is located?
im probablly gonna sound really really stupid now but im gonna ask any way but where excitally are u ment to type commands like
Boot into SUSE and open a terminal or console, which is like a dos window. And type:
To switch from a user to root, enter the root password. Now type:
This will list information regarding the drives and the partitions, similar to mine as follows:
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 7268 8541 10233405 83 Linux
/dev/sda2 7013 7267 2048287+ 82 Linux swap / Solaris
/dev/sda3 16372 30394 112639747+ 7 HPFS/NTFS
According to my fdisk -l results, /dev/sda3 is my Windows partition, actually, it is a NTFS data partition, my Windows installations and other Linux installations are hidden from this Debian Etch. But you should see an NTFS partition on possibly /dev/sda1.
If you can post the results of "fdisk -l", will help us figure this out so you don't render your installations un-bootable. But first, set the bios to boot from the SATA drive, after the CD drive of course so you can work off the CD. By rights if you do that you should be able to boot Windows and not SUSE when the CD is not in the drive. It is best to show this info before installing grub which should be installed in a MBR, which should be "/dev/hda" for the IDE drive and "/dev/sda" for the SATA drive. If you choose to boot the SATA drive first, grub would need to be installed to /dev/sda, which will in turn over write the Windows boot information. The ones your CD suggests are partition boot records "PBR" not master boot record "MBR". The MBR is the first sector of a drive before a partition's start point. The computer looks to the MBR first for booting information, then the boot loader that's in the MBR boots the OS you choose via the OS's PBR. Any device with a number is a partition on the drive, not the drive, such as /dev/hda5 or /dev/sda2, putting grub in one of them puts it in a PBR, not the MBR.
I'm also going to hit the hay, hopefully someone will help for now.