Problem after installing Puppy Linux [Solved]

Booting, installing, newbie
Post Reply
Message
Author
thoase
Posts: 115
Joined: Fri 03 Apr 2009, 17:24
Location: Sweden

Problem after installing Puppy Linux [Solved]

#1 Post by thoase »

I have just finished the Puppy Linux installation on my machine with win XP.

My machine;
sda1 = NTFS(XP)
sdb1 = NTFS
sdb2 = ext2 (Puppy Linux)

I have installed GRUB.

When I start my machine I can read the following menu:
Windows (on dev/sda1)
Windows (on dev/sda2)
Linux (on /dev/sdb2)

When I choose Windows (on dev/sda1), Windows XP starts without any problems!

But when I choose Linux (on /dev/sdb2), I get the text and error:

Booting 'Linux (on /dev/sdb2)'
root (hd1,1)

Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinux root=/dev/sdb2 ro vga=normal

Error 15:File not found

Press any key to continue.

What is the problem?
Last edited by thoase on Sat 18 Apr 2009, 13:09, edited 1 time in total.
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

A spelling mistake. It's "vmlinuz" not "vmlinux".
thoase
Posts: 115
Joined: Fri 03 Apr 2009, 17:24
Location: Sweden

#3 Post by thoase »

Sorry, I misspelled it!

What should I do? Boot with the Puppy Linux-CD and correct/edit some file(s)?
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#4 Post by Béèm »

Correct the line with an editor in the file menu.lst
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#5 Post by rcrsn51 »

I'm confused. Do you mean that the actual name of the file is spelled wrong or you just misspelled it in your message above?

Boot again off your hard drive. When the GRUB menu comes up, press the 'c' key. This gets you the GRUB command prompt. Type:

Code: Select all

find /boot/vmlinuz
Then type:

Code: Select all

find /boot/vmlinux
Report back with the results.
pcampbell87
Posts: 29
Joined: Thu 02 Apr 2009, 14:32

#6 Post by pcampbell87 »

Do you have a full install or a frugal install of Puppy?

If it was a frugal install vmlinuz wont be in the /boot folder - it looks like you may have used the default grub menu.lst.

Please post the contents of your /boot/grub/menu.lst file and confirm if Puppy is installed in a folder such as /puppy420/.
thoase
Posts: 115
Joined: Fri 03 Apr 2009, 17:24
Location: Sweden

#7 Post by thoase »

First: rcrsn51; both commands returns "Error 15: File nor found"

Second: pcampbell87: Here'e "my" menu.lst:
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Fri Apr 3 22:13:31 2009
#
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.9485'. You can restore it like this.
# dd if=/boot/grub/mbr.sda.9485 of=/dev/sda bs=512 count=1
#
# Start GRUB global section
#timeout 30
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
# Other bootable partition config begins
title Windows (on /dev/sdb1)
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/sdb2)
root (hd1,1)
kernel /boot/vmlinuz root=/dev/sdb2 ro vga=normal
# Linux bootable partition config ends
# Other bootable partition config begins
title Windows (on /dev/sdd1)
map (hd0) (hd2)
map (hd2) (hd0)
rootnoverify (hd2,0)
makeactive
chainloader +1
# Other bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd1,1)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/sdb2)
root (hd1,1)
setup (hd1,1)
pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)


Yes, I made a full installation. But I don't have any folder called /puppy420/ as I can see. I just have / and there can I see folders such as bin, etc, initrd, lib... and so on.

So, did I do anything wrong when I installed PL?
pcampbell87
Posts: 29
Joined: Thu 02 Apr 2009, 14:32

#8 Post by pcampbell87 »

No, you didn't do anything wrong, it is just that you need to tweak the menu.lst file after installing grub.

I am not sure where puppy saves the vmlinuz during a full install. Give me a minute and I will make a full install to find out.
pcampbell87
Posts: 29
Joined: Thu 02 Apr 2009, 14:32

#9 Post by pcampbell87 »

Hmmm.... I have just ran a full install with those same settings and had no trouble booting.

Can you check that the file /boot/vmlinuz exists on your /dev/sdb2 partition? You may need to boot from the Puppy CD as windows will not read the ext3 filesystem.
thoase
Posts: 115
Joined: Fri 03 Apr 2009, 17:24
Location: Sweden

#10 Post by thoase »

No, there was no /boot/vmlinuz-file. The vmlinuz-file was in the /-directory. So, I moved it to the /boot-directory. After a reboot, I got the following text/error on the screen:

root(hd1,1)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/umlinux root=/dev/sdb2 ro vga=normal
[Linux-bz-image, setup=0x2a00, size=0x18a82c]

Unmalzing Linux... Done
Booting the kernel
Kernel panic - not syncing: No init found. Try passing= option to kernel.


Then I tried to copy initrd.gz and pup_420.sfs to the /boot-directory without any change, same error message!

So what? Luckily I can boot from the CD...
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#11 Post by rcrsn51 »

Something has gone seriously wrong with your install. I would reformat the partition and start again.

Or it might be easier to do a frugal install. Leave the partition as it is for now and copy the three core Puppy files to the root - vmlinuz, initrd.gz and pupxxx.sfs.

Then make a menu.lst entry as follows:

Code: Select all

 title Linux (on /dev/sdb2)
root (hd1,1)
kernel /vmlinuz pmedia=atahd 
initrd /initrd.gz
thoase
Posts: 115
Joined: Fri 03 Apr 2009, 17:24
Location: Sweden

#12 Post by thoase »

OK!
I will do a complete reinstall.

The steps:
1. Fix partition with Gparted
2. Install Puppy Linux.
3. Finally Grub - bootloader config

OK?
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#13 Post by rcrsn51 »

Personally, I would try the frugal install first.
thoase
Posts: 115
Joined: Fri 03 Apr 2009, 17:24
Location: Sweden

#14 Post by thoase »

By copying these three file to my boot-directory(which I alreday done) and then add "Then make a menu.lst entry as follows: title Linux....". In which file?
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#15 Post by rcrsn51 »

In the menu.lst file that you posted above. You found it in the folder /boot/grub.
thoase
Posts: 115
Joined: Fri 03 Apr 2009, 17:24
Location: Sweden

#16 Post by thoase »

Where in the file should I add the entry? Any particularly place?
pcampbell87
Posts: 29
Joined: Thu 02 Apr 2009, 14:32

#17 Post by pcampbell87 »

You could put it after the line

Code: Select all

# End GRUB global section 
that way it will appear at the top of the grub menu.

If you want it in a different order just add it after one of the '# Other bootable partition config ends' lines
thoase
Posts: 115
Joined: Fri 03 Apr 2009, 17:24
Location: Sweden

#18 Post by thoase »

Yesssss! It really worked! Thanks a lot!

/Thomas, a happy newbie that will continue to work with/use Puppy!!! (And I will get back to the forum with more newbie-questions)
Post Reply