LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   New to Linux Puppy - Grub question (https://www.linuxquestions.org/questions/linux-newbie-8/new-to-linux-puppy-grub-question-736852/)

nelsonsam 07-01-2009 12:13 AM

New to Linux Puppy - Grub question
 
Hi,

I'm totally new with Linux so please bear with me.

I just installed Linux Puppy 4.2.1 Frugal on 5 GB partition on my Laptop with Windows XP. Hard drive has 2 partitions - 50 GB Windows XP and 5 GB Linux Puppy.

After installation, Linux Puppy installer asked me to add four lines in to Grub's menu.lst file which I don't have because I have never installed Grub.

What should I do?

Do I have to install Grub manually before installing Linux Puppy?

Thank you.

Sam

yancek 07-01-2009 12:58 PM

When I installed Puppy a month ago, I recall having an option to install to mbr or to install to root partition if I already had a bootloader. You should have selected the first option if you don't already have Grub installed with another distro. Your other option is to have xp boot Puppy which is a little more complicated.

Load your Puppy CD and run the command: fdisk -l (lower case Letter L) and post that partition information here. Someone will be able to tell you how to install Grub and where to install it.

nelsonsam 07-07-2009 03:10 AM

Hi Yancek,

Thanks for your reply and,
Sorry for delay, I was out of state for long weekend because of family gathering.

Below is the fdisk -l info for my laptop,

# fdisk -l

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/tracks, 7286 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 6532 52468258+ 7 HPFS/NTFS
/dev/sda2 6533 7296 6136830 5 Extended
/dev/sda5 6533 7296 6136798+ 83 Linux
#

Sam

JZL240I-U 07-17-2009 01:23 AM

Okay, in case you haven't solved that by yourself, here is some basic information. You need a program which lets you choose, which system you want to start, i.e. a boot loader. That can in your case be either the Windows boot loader or GRUB.

What happens technically is similar: the loaders either start their original OS ... or they call the other boot loader, a process called chain loading. I'd suggest you install GRUB (I could help you with the original NT-loader but since I don't use win anymore and Microsoft changed some things ... alternatively you might search this site, there is a solution for win posted here for sure).

To get GRUB to handle this it has to go into the MBR (only if you want it handled by the win loader it should go into your /dev/sda5 partition). I'd suggest you pop in your puppy disk and boot from it. There is usually a repair modus offered when an existing linux is detected. Select that and let it guide you to install GRUB into the MBR, normally it detects the win-OS too and prepares a functioning entry in its menu.lst.

Please come back and tell us if it worked or if you need some more information.

nelsonsam 07-18-2009 09:58 AM

New to Puppy Linux
 
Hi JZL240I-U,

Thank you for your reply.

I followed your instructions and installed Grub in MBR.

I can now login to both systems, XP and Puppy.

Again thank you for your help.

Sam


All times are GMT -5. The time now is 07:31 PM.