Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 28 Nov 2014, 05:57
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Puppy RamBoot - Everything (including save file) in RAM
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 5 [69 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Thu 10 Dec 2009, 00:27    Post subject:  

jemimah,

I've being yearning to try out RamBoot and finally got around to it and here's what happened.

Booted up with the new initrd and saved a minimal pupsave of 32m to a usb hard drive. Rebooted with ramboot=1 option and got this error..

"superblock could not be read.....try alternate superblock e2fsck -b 8193 <device> " (I later tried that with no success)

It then failed to mount pup-rw, loaded pup-431.sfs, layered,and then went to kernel panic

When booting without the ramboot=1 option, all goes as expected and the new pupsave file loads without a problem.

Any ideas as to what might be happening?

Thanks,
s
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 10 Dec 2009, 01:07    Post subject:  

Wow no, that's never happened to me!

Did you get that error after it loaded all the files to RAM? What does the rest of your bootloader config look like? Are you using a regular ext2 save file?
Back to top
View user's profile Send private message Visit poster's website 
Mstar

Joined: 16 Feb 2007
Posts: 74

PostPosted: Thu 10 Dec 2009, 10:06    Post subject: I've Got The Same Problem
Subject description: Superblock etc.
 

Jemimah,

I thought it was just me. I have exactly the same problem. Machine is a P4, 2 gig Ram, Intel D865GBF Mobo, ATI x1650 video card. Puppy 4.3.1 frugal.

I've made a save file by booting from the RamBoot Initrd.gz but started with Pfix=Ram and then saved. Get exactly the same result when I boot with Ramboot=1. Also chokes on 2fs file made before trying RamBoot. Both will boot from the "normal" Initrd.gz.

In both cases I'm booting from the same Grub Menu.lst file, the only difference is editing before booting to add Pfix=Ram and eliminate Ramboot=1 when I created the 2fs save file to see if the original was somehow corrupted.
Back to top
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Thu 10 Dec 2009, 12:19    Post subject:  

Jemimah,

Since the pupsave file works when the "ramboot=1" isn't used, perhaps it has something to do with the actual filesystem that the pupsave is on. My pupsave file is on an "ext3" filesystem.

Is there any ramboot load coding that might get confused in this case?

Thanks for any insights you may have,
s
(Mstar, I'm also happy it's not just me Very Happy )
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 10 Dec 2009, 12:24    Post subject:  

I tested exclusively with ext2 filesystems, so that's probably it. Let me see if I can figure out how to fix it for ext3.

Edit: Wait.. Mstar you said you're using a .2fs, so it's probably not ext3 or at least not exclusively.
Back to top
View user's profile Send private message Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Thu 10 Dec 2009, 13:46    Post subject:  

jemimah wrote:
I tested exclusively with ext2 filesystems, so that's probably it. Let me see if I can figure out how to fix it for ext3.

Edit: Wait.. Mstar you said you're using a .2fs, so it's probably not ext3 or at least not exclusively.


jemimah,

I wasn't sure whether Mstar was referring to the pupsave file itself as "ext2" or the filesystem that the pupsave was on.....

In my case the pupsave file itself is "ext2" and it resides on an "ext3" filesystem.

Thanks for checking this out,
s
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 10 Dec 2009, 13:55    Post subject:  

When in the boot process do you get the error? Before it says "Copying Files to Ram", or after?

Also, are you using ext3 and grub on a USB drive? Or Syslinux on ext3 (is that even possible?). Can you try it with a Syslinux VFAT usb drive?
Back to top
View user's profile Send private message Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Thu 10 Dec 2009, 14:17    Post subject:  

jemimah wrote:
When in the boot process do you get the error? Before it says "Copying Files to Ram", or after?

Also, are you using ext3 and grub on a USB drive? Or Syslinux on ext3 (is that even possible?). Can you try it with a Syslinux VFAT usb drive?


jemimah,

Just ran it again and it gets to "copying files to ram......kb ram will be used" and then the "superblock ......" error happens.

Using grub on ext3 USB harddrive.

Thanks,
s
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 10 Dec 2009, 14:56    Post subject:  

Do you get an actual number for how many KB of ram will be used? or just blank?
Back to top
View user's profile Send private message Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Thu 10 Dec 2009, 15:40    Post subject:  

jemimah wrote:
Do you get an actual number for how many KB of ram will be used? or just blank?


Just blank
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 10 Dec 2009, 16:26    Post subject:  

So it's failing in the part where it calculates file size, then allocating a 0kb ramdisk. I wonder why. My internal drive is ext3 and it works fine.
Back to top
View user's profile Send private message Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Thu 10 Dec 2009, 16:49    Post subject:  

jemimah wrote:
So it's failing in the part where it calculates file size, then allocating a 0kb ramdisk. I wonder why. My internal drive is ext3 and it works fine.


Interesting.... only difference seems to be USB harddrive vs internal hd. Does the order of the kernel line parameters make any difference - I have the "ramboot=1" as the last.
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 10 Dec 2009, 17:01    Post subject:  

I don't think so. Do you have anything for pmedia and pdev1? I'll post a new initrd with more debugging output when I get a chance to rebuild it.
Back to top
View user's profile Send private message Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Thu 10 Dec 2009, 17:52    Post subject:  

jemimah wrote:
I don't think so. Do you have anything for pmedia and pdev1? I'll post a new initrd with more debugging output when I get a chance to rebuild it.

pmedia=usbhd psubdir=pup-431
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 10 Dec 2009, 18:17    Post subject:  

Maybe it's psubdir. I don't think I considered that...
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 5 [69 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0880s ][ Queries: 12 (0.0111s) ][ GZIP on ]