LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-26-2010, 05:16 PM   #16
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,139

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622

You said earlier you could only boot Puppy by using the Puppy CD. I assumed you meant you could boot to the installation on the hard drive but if you are seeing read-only filesystem, you are probably just booting the CD and using it?

Any system on a Live CD will be read-only.

The commands I suggested previously assumed you were booting to the hard drive install. If you boot the CD, open a terminal and create a mount point: mkdir /mnt/sda2
then mount the filesystem: mount -t ext3 /dev/sda2 /mnt/sda2
(I'm assuming Puppy is ext3 filesystem, can't remember, may have to change that)
then do: ls /mnt/sda2/boot
and: ls /mnt/sda2/boot/grub

See what the output is.
Did you do the full install to partition option?
You do not actually enter Sda2, can't use upper case letters.

If you get output from the above ls command, take a look in the /boot/grub directory at the menu.lst file and if you have one, post it here.
 
Old 10-27-2010, 05:28 AM   #17
Bill41
Member
 
Registered: Feb 2007
Posts: 34

Rep: Reputation: 0
Many thanks, Yancek.
I've done what you suggested in your last post but used ext2 rather than ext3 because ext2 was what appeared when I looked at the partitions.
ls /mnt/sda2/boot produced: grub

ls /mnt/sda2/boot/grub produced:
device.map jfs_stage1_5 reiserfs_stage5 stage2_eltorito
e2fs_stage_5 menu.lst stage 1 usage.txt
fat_stage1_5 minix_stage1_5 stage2 xfs_stage1_5

ls /boot/grub/menu.lst produced:
No such file or directory

Hope I've copied it accurately.
 
Old 10-27-2010, 10:38 AM   #18
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,139

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Your output shows a menu.lst file in the /boot/grub/ directory. In order to view the contents of it, you can use the cat command. Since you are using a Live CD, if you have re-booted since issuing the commands in my last post, you will have to do them all again. If you have not re-booted, just do this: cat /mnt/sda2/boot/grub/menu.lst

That should allow you to see the contents of the menu.lst file. If you do not understand this, post contents here.

If you have re-booted the computer, run the command below before doing the cat command above;

Quote:
open a terminal and create a mount point: mkdir /mnt/sda2
then mount the filesystem: mount -t ext2 /dev/sda2 /mnt/sda2
You should see an entry for Puppy and for xp. Then just need to install to mbr and if you post it someone will be able to give you exact commands.
 
Old 11-01-2010, 06:16 AM   #19
Bill41
Member
 
Registered: Feb 2007
Posts: 34

Rep: Reputation: 0
/boot/grub/menu.lst edits

I've been away from my computer for a few days - visitors.
I have now edited the menu.lst file to include the instructions given in the Puppy Linux Manual. The file entry for Linux now looks like this:
# Linux bootable partition config begins
title Puppy Linux (on /dev/sda1)
rootnonverify (hd0,1)
kernel /puppy501/vmlinuz pmedia=idehd psubdir=puppy501
initrd /puppy501/initrd.gz
# Linux bootable partition config ends

But I still get the error message:
Error 15: File not found

What file is it looking for? In my /mnt/home directory I have the following files/directories:
boot
lost+found
fsckme.err
lupu-501.sfs
lupusave-bill.2fs
pupswap.swp

Is the grub loader looking for one of these or for puppy501/vmlinuz, but can't find it?

But I now see that my /mnt/sda2 directory is empty. Is this the problem? Is this where the grub loader is expecting to find the files it is looking for?

Bill

Last edited by Bill41; 11-01-2010 at 07:04 AM. Reason: New information
 
Old 11-01-2010, 08:08 AM   #20
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu
Posts: 1,175

Rep: Reputation: 219Reputation: 219Reputation: 219
rootnonverify (hd0,1) refers to /dev/sda2. To refer to /dev/sda1 you want rootnoverify (hd0,0)
 
Old 11-01-2010, 08:39 AM   #21
Bill41
Member
 
Registered: Feb 2007
Posts: 34

Rep: Reputation: 0
Many thanks, RockDoctor. I'm afraid my previous post had a typo. The menu.lst does read: title Puppy Linux (on /dev/sda2) but I typed sda1 in the post by mistake. But the grub still doesn't work!
 
Old 11-01-2010, 12:24 PM   #22
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,139

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Quote:
rootnonverify (hd0,1)
kernel /puppy501/vmlinuz pmedia=idehd psubdir=puppy501
initrd /puppy501/initrd.gz
If the above is NOT a typo, change "rootnonverify" to "rootnoverify".

Quote:
What file is it looking for? In my /mnt/home directory I have the following files/directories:
Not /mnt/home. Are you still getting this information using the LiveCD? You need to create the directory and mount each time you re-boot the LiveCD. If you use the commands I suggested previously and mount: /mnt/sda2, you should see the vmlinuz file in the puppy501 directory. That is what the kernel entry above is pointing to.
 
Old 11-04-2010, 03:25 PM   #23
Bill41
Member
 
Registered: Feb 2007
Posts: 34

Rep: Reputation: 0
Many thanks for all your help here, particularly Yancek. But I have taken the easy way out and dumped Windows. Now I have a full install of Puppy 501 on my Sony Vaio PCG-FX109K with the boot and powerdown working nicely.

I have learned a lot from this experience and have overcome my anxieties about working with shells and command lines.
Many thanks again.
Best wishes
Bill
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Promo Video for Puppy Lucid 5.1 - starring Jemimah tronkel Puppy 1 09-07-2010 08:58 PM
LXer: Puppy 5.1 “Lucid Puppy” Review LXer Syndicated Linux News 0 08-15-2010 06:50 PM
LXer: Puppy 5.1 codename Lucid is out- Now is compatible with Ubuntu 10.04 Lucid Lynx package LXer Syndicated Linux News 0 08-15-2010 02:20 PM
Lucid Puppy - Installing Wireless Driver LPLinuxIO Linux - Newbie 6 07-25-2010 02:42 PM
Lucid Puppy 5.0.1 riki Linux - Laptop and Netbook 3 05-31-2010 03:11 AM


All times are GMT -5. The time now is 11:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration