boot form HD using grub and still run completly in RAM?

Using applications, configuring, problems
Post Reply
Message
Author
myles
Posts: 4
Joined: Fri 04 Nov 2005, 21:48

boot form HD using grub and still run completly in RAM?

#1 Post by myles »

Is it possible to install puppy on a hard drive partition and then use grub to boot puppy BUT still have puppy run completly in the RAM?

I currently have puppy installed on its own ext2 partation but when it boots (if I'm not mistaken) it doesn't run completly in the RAM. I would like to do this as I'm sick of always booing from the live CD and my HD is rather old and slow.

Any suggestions how todo this? Maybe some one has already explained this in a HOW TO but I can't find it.

Thanks,

Myles

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

Yes.

copy these files to your harddrive:
pup001
vmlinuz
image.gz
usr_cram.fs

I would put
vmlinuz
image.gz
in a folder called /boot (C:\boot),the other 2 files to / (C:\)

Then add them to grub as you did for your "full" install.
As the partition where the files are on is available as /mnt/home, you can store files there.

You also can put files from /root or /usr there (but NOT on a Windows-Partition):
http://www.murga.org/%7Epuppy/viewtopic ... 1453#21453

This is how I use puppy - it is extrmelly fast but flexible.

Mark

myles
Posts: 4
Joined: Fri 04 Nov 2005, 21:48

#3 Post by myles »

I've tried to do this but I can't get it to boot. It gives me a message about kernal panic.

I don't have any windows partitions so I copied the files vmlinus and image.gz from the cd to my hda2 partition (ext2) and put them in a folder called boot. I also copied user_cram.fs to this partition. I couldn't find the pup001 file so I left this out - but I don't think it matters as it only contains user settings. I then altered my grub menu so it looks like this

Code: Select all


default  0
timeout  30
color cyan/blue white/blue
splashimage=(hd0,2)/boot/grub/grub-splash.xpm.gz

title Puppy 
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal

title Super Puppy 
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 ro vga=normal

title	GeeXboX
root	(hd0,2)
kernel	/vmlinuz root=/dev/ram0 rw init=linuxrc boot=hda3 splash=silent vga=0x315 video=vesafb:ywrap,mtrr
initrd  /initrd.gz
boot

title	GeeXboX (debug)
root	(hd0,2)
kernel	/vmlinuz root=/dev/ram0 rw init=linuxrc boot=hda3 splash=0 vga=0x315 video=vesafb:ywrap,mtrr debugging
initrd  /initrd.gz
boot

What I hoped was that Super Puppy would boot into the RAM completly but it just gives me the message about kernal panic.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

Hm.. no Idea, sorry...

Mark

GRUB_DOG

Grub settings

#5 Post by GRUB_DOG »

default 0
timeout 10
color cyan/blue white/blue
foreground 00EE00
background 004000
gfxmenu (cd)/boot/grub/message

title GrafPup 1.0.0
kernel (cd)/vmlinuz root=/dev/ram0 PFILE=pup101-none-262144
initrd (cd)/graf.gz

title Mean Puppy (Murga)
kernel (cd)/vmlinuz root=/dev/ram0 ramdisk_size=63488 PFILE=pup111-none-262144
initrd (cd)/meanpup.gz

change the blue cd to your hd0,0 and remove the orange PFILE to end of line

Mean Puppy is the most compact and has usr_cran.fs inside the initrd's GZ so it (GRUB) would not have to search for it.

Taken from grubber-puppy iso

Guest

#6 Post by Guest »

Thanks, that helped me get it sorted

Post Reply