Puppy installed with XP won't boot.

Booting, installing, newbie
Post Reply
Message
Author
wimduk
Posts: 13
Joined: Fri 14 Aug 2009, 18:59

Puppy installed with XP won't boot.

#1 Post by wimduk »

Dear Reader,

I have a windows xp machine and installed Puppy Linux from the live CD and followed the very good "Beginners Guide to Install Puppy"from rcrsn51. The installation went well, no problems occurred.

Puppy is installed on a separate (ext2 formatted) partition. This partition is set with the flags option as boot partition. If I reboot the PC a message "Reboot and select proper boot device or insert bootmedia in boot device and press Enter" is shown. Only inserting the live CD and repowering the machine solves this problem. But then Puppy is loaded from the Cd and that is now what I wanted. :twisted:

I am sure it has something to do with GRUB but I don't know how to deal with this (looked around but din't find the real answer. I have installed in the past sucessfully Xubuntu on this machine and in that installation no problem with GRUB occured.

Who can give me a hint? Many rhanks in advance

Wimduk
User avatar
KC1DI
Posts: 49
Joined: Tue 13 Sep 2005, 01:58

Re: Dualboot failed

#2 Post by KC1DI »

wimduk wrote:Dear Reader,

I have a windows xp machine and installed Puppy Linux from the live CD and followed the very good "Beginners Guide to Install Puppy"from rcrsn51. The installation went well, no problems occured.

Puppy is installed on a separate (ext2 formatted) partition. This partition is set with the flags option as boot partition. If I reboot the PC a message "Reboot and select proper boot device or insert bootmedia in boot device and press Enter" is shown. Only inserting the live CD and repowering the machine solves this problem. But then Puppy is loaded from the Cd and that is now what I wanted. :twisted:

I am sure it has something to do with GRUB but I don't know how to deal with this (looked around but din't find the real answer. I have installed in the past sucessfully Xubuntu on this machine and in that installation no problem with GRUB occured.

Who can give me a hint? Many rhanks in advance

Wimduk
Hi,
hope this helps. When you loaded grub you should have installed it to the MBR not the root disk. it should pick up winows fine. the problem is you don't have it install in the MBR.
try reinstalling it from the live cd by going to system>Grub-bootloader config. see if that will work.
wimduk
Posts: 13
Joined: Fri 14 Aug 2009, 18:59

#3 Post by wimduk »

Thanks for your fast reply John, I will give it a try today and keep you informed. regards wimduk
wimduk
Posts: 13
Joined: Fri 14 Aug 2009, 18:59

#4 Post by wimduk »

Hi john

followed your instructions and windows is booting fine, So I am half way now :)
but when I try to boot Puppy Linux an error occurs, see below :(

-------------------------------------------------------------
root (hd0,5)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz root=/dev/sda6 ro vga=normal
Error 15: File not found
-------------------------------------------------------------

I have searched the internet for solutions, found some but none of them
solved my problem. see below the layout of my filesystem and my current
menu.lst file

--------------------------------------------------------------
My filesystem has the following layout (according to GParted)
Partition Filesystem mountpoint label .... Flags
/dev/sda1 ntfs AMD Primary boot (is this OK??)
/dev/sda2 extended lba
/dev/sda5 Linux swap
/dev/sda6 ext3 /initrd/mnt/dev_ro2 boot
--------------------------------------------------------------

My menu.list file (located at /boot/grub on sda6)
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Tue Jan 1 00:22:55 2002
#
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.10156'. You can restore it like this.
# dd if=/boot/grub/mbr.sda.10156 of=/dev/sda bs=512 count=1
#
# Start GRUB global section
timeout 10
#color light-gray/blue black/light-gray
gfxmenu /boot/grub/deep_stage1
# End GRUB global section
# Other bootable partition config begins
title Windows (on /dev/sda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/sda6)
root (hd0,5)
# kernel /boot/vmlinuz root=/dev/sda6 ro vga=normal
kernel /vmlinuz root=/dev/sda6 ro vga=normal
# Linux bootable partition config ends
---------------------------------------------------

Any idee what changes to my menu.lst are needed to boot linux
properly?

Many thanks in advance :D

Kind regards wimduk
User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

#5 Post by davids45 »

G'day,
My experiences with "Error 15. File not found." are I've either:

1) made a typo, such as "vmlinux" instead of "vmlinuz" or

2) vmlinuz, the file grub is trying to find and can't (I've wondered why it can't say which file it is that it can't find?), is in a subdirectory such as /boot when I've told grub to look for it in the partition's root / or vice versa, or

3) I've told grub to look in the wrong partition - such as sda7 when vmlinuz is in sdb7

I see you've commented out the line in the Puppy section "kernel /boot/vmlinuz...". Did you try this first and get the same error message?

It is possible to edit the volatile menu.lst during the boot up - look for the 'how to' message at the bottom of the menu. This could be quicker than editing the menu.lst file itself. And if you find where the problem is, then you can get in and change the menu.lst permanently.

Happy hunting.

David S.
wimduk
Posts: 13
Joined: Fri 14 Aug 2009, 18:59

#6 Post by wimduk »

Thanks David, starts hunting :) keep you informed
alix_board
Posts: 64
Joined: Fri 14 Aug 2009, 06:35
Location: Austria

#7 Post by alix_board »

Hi wimduk,

you have allready a solution for your problem?

Now, i have also the same problem! It´s right, you can edit menu.lst while booting the system!

I have the following error message:

Code: Select all

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz root=/dev/hda1
Error 15: File not found
I have already change vmlinuz to vmlinux --> also Error 15 :-( !

So i have check the path /dev/hda1 --- i have only the directory /dev and hda1 is an file!?!?
User avatar
T_Hobbit
Posts: 400
Joined: Sat 27 May 2006, 10:50
Location: Portugal - Lisbon

#8 Post by T_Hobbit »

Can you post your grub file?
Last edited by T_Hobbit on Wed 19 Aug 2009, 15:11, edited 1 time in total.
T_Hobbit
:idea: Rebuilding old DOS Machine for Wing Commander Privateer and Puppy :!: Old spare parts to give away - anyone interested :?:
alix_board
Posts: 64
Joined: Fri 14 Aug 2009, 06:35
Location: Austria

#9 Post by alix_board »

Code: Select all

color light-gray/blue black/light-gray
default 0
timeout 10

title Puppy Linux
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1
alix_board
Posts: 64
Joined: Fri 14 Aug 2009, 06:35
Location: Austria

#10 Post by alix_board »

so, now i have solved my problem!

The problem was the following:
I have install Puppy FULL on a CF-Card, which was connected on USB! After that i try it to install Puppy FULL Version on a CF-Card which was connected on IDE --> it works :P !

Now it works with the following menu.lst:

Code: Select all

color light-gray/blue black/light-gray
default 0
timeout 10

title Puppy Linux
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 
Thanks on everybody who help me!
User avatar
T_Hobbit
Posts: 400
Joined: Sat 27 May 2006, 10:50
Location: Portugal - Lisbon

#11 Post by T_Hobbit »

Do you have the file "vmlinuz" inside the directory "/boot"?
T_Hobbit
:idea: Rebuilding old DOS Machine for Wing Commander Privateer and Puppy :!: Old spare parts to give away - anyone interested :?:
wimduk
Posts: 13
Joined: Fri 14 Aug 2009, 18:59

#12 Post by wimduk »

Hi T_Hobbit,

where can i find the grug (?) file because I can'f find it with the file finder,
Or do you mean grub file?

Thanks for your help so far

Regards, wimduk
alix_board
Posts: 64
Joined: Fri 14 Aug 2009, 06:35
Location: Austria

#13 Post by alix_board »

T_Hobbit wrote:Do you have the file "vmlinuz" inside the directory "/boot"?
Yes, i have the file in the directory /boot !
User avatar
T_Hobbit
Posts: 400
Joined: Sat 27 May 2006, 10:50
Location: Portugal - Lisbon

#14 Post by T_Hobbit »

Try changing

Code: Select all

kernel /boot/vmlinuz
to

Code: Select all

kernel /boot/vmlinuz
append initrd=/boot/initrd.gz root=/dev/hda1
Don't forget to copy the file initrd.gz to the /boot directory.
T_Hobbit
:idea: Rebuilding old DOS Machine for Wing Commander Privateer and Puppy :!: Old spare parts to give away - anyone interested :?:
wimduk
Posts: 13
Joined: Fri 14 Aug 2009, 18:59

#15 Post by wimduk »

Thanks T_hobbit, will try (tomorrow) keep you informed, regards wimduk
wimduk
Posts: 13
Joined: Fri 14 Aug 2009, 18:59

#16 Post by wimduk »

Dear readers,

I followed T_Hobbit's suggestion (see above) and linux is booting now :) .. but.... during startup I get the following messages and the system hangs :(

unlzmaing Linux ... done
Booting the kernel
Kernel panic - not syncing:VFS: unable to mout root fs on unknown block(22,1)

The code in the GRUB menulist is as follows
----------------------------------------------------------------------------------
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Tue Jan 1 00:22:55 2002
#
# Start GRUB global section
timeout 10
gfxmenu /boot/grub/deep_stage1
# End GRUB global section
# Other bootable partition config begins
title Windows (on /dev/sda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz
append initrd=/boot/initrg.gz root=/dev/sda6 ro vga=normal
# Linux bootable partition config ends
---------------------------------------------------------------------------------
First I copied only "initrd.gz"into the boot directory. After failure of the boot process I copied all the puppy files to the boot directory (In my case "/initrd/mnt/dev_ro2/boot"), but nothing changed.

Who can give me a suggestion how to overcome this challange?

Many thanks in advance.

Regards wimduk
wimduk
Posts: 13
Joined: Fri 14 Aug 2009, 18:59

It Works!

#17 Post by wimduk »

Dear puppy experts,

Problems with grub are solved now. After all it's simple :oops:
Say to puppy where to find the files! I updated the meun.lst file (see below) and told puppe where to look for the files.

-------------------------------------------------------------------------------------
# GRUB configuration file '/boot/grub/menu.lst'.
#
# Start GRUB global section
timeout 10
gfxmenu /boot/grub/deep_stage1
# End GRUB global section
# Other bootable partition config begins
title Windows (on /dev/sda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/sda6)
root (hd0,5)
kernel /puppy421/vmlinuz root=/dev/sda6 psubdir=puppy421
initrd /puppy421/initrd.gz
# Linux bootable partition config ends
------------------------------------------------------------------------------------

all of you; many, many thanks for the great help you offered me :lol:

warm regards, wimduk
Post Reply