How to run Puppy from Windows NTFS partition

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#31 Post by MU »

What for a keyboard?

Wireless? USB?

The more information you give, the easier it will be to answer.
Btw. I don't answer questions for the Forum as pm.

Mark

User avatar
kelewax
Posts: 41
Joined: Fri 04 Nov 2005, 16:26
Location: Nigeria

#32 Post by kelewax »

MU wrote:What for a keyboard?

Wireless? USB?

The more information you give, the easier it will be to answer.
Btw. I don't answer questions for the Forum as pm.

Mark
I sure would like to give you all the information you need to help me
this is a screen shot of where the booting process stops when I am booting from the CD or from Harddisk.





After this appears on the screen I am not able to do anything again as the system does not respond to my inputs.

I am not using a usb keyboard it is a Laptop and so I am using the inbuilt keyboard.
I followed all the instructions from http://ph-islands.net/pupinstall/winxp.php in installing puppy to my NTFS harddisk
Thanks
Attachments
Picture1.png
(90.55 KiB) Downloaded 2357 times

User avatar
kelewax
Posts: 41
Joined: Fri 04 Nov 2005, 16:26
Location: Nigeria

#33 Post by kelewax »

Well somehow after experementing I was able to solve my problems. This happened a few weeks ago, but I thought it would be good to report how I did it, perhaps it will help a novice like me.

I added
PSLEEP=25 PKEYS=us
to menu.lst file

so that the whole file was like this
default 0
timeout 0
title Puppy Linux1.0.5
rootnoverify (hd0,1)
kernel (hd0,1)/puppylinux1.0.5/vmlinuz root=/dev/ram0 PSLEEP=25 PFILE=pup001-none PKEYS=us
initrd (hd0,1)/puppylinux1.0.5/image.gz

boot

Thanks
Which of the favours of your Lord can you deny?

User avatar
laserbeak
Posts: 63
Joined: Sat 12 Aug 2006, 10:43
Contact:

#34 Post by laserbeak »

what would i have to do to make this work with puppy-215CE-Final.iso?

pupshock
Posts: 140
Joined: Fri 23 Mar 2007, 05:30

#35 Post by pupshock »

Advice here worked for me (WXP-SP2, Puppy2.15, NTFS):
http://www.icpug.org.uk/national/linnwin/contents.htm

backup your stuff first

User avatar
laserbeak
Posts: 63
Joined: Sat 12 Aug 2006, 10:43
Contact:

#36 Post by laserbeak »

pupshock wrote:Advice here worked for me (WXP-SP2, Puppy2.15, NTFS):
http://www.icpug.org.uk/national/linnwin/contents.htm

backup your stuff first
definately not as simple as this but i'll give it a shot cause that other one isnt working for me anyway.

thanks

User avatar
laserbeak
Posts: 63
Joined: Sat 12 Aug 2006, 10:43
Contact:

#37 Post by laserbeak »

sweet!! that worked!! thanks!!

User avatar
XiaolinDraconis
Posts: 18
Joined: Tue 24 Feb 2009, 22:50

#38 Post by XiaolinDraconis »

grrr everywhere i look to install to ntfs i get this same answer.... this is not the answer to install to ntfs it is for installing grub in windows! i have ntfs but no windows!!!!!

DMcCunney
Posts: 889
Joined: Tue 03 Feb 2009, 00:45

#39 Post by DMcCunney »

XiaolinDraconis wrote:grrr everywhere i look to install to ntfs i get this same answer.... this is not the answer to install to ntfs it is for installing grub in windows! i have ntfs but no windows!!!!!
Er, if you don't have Windows, why do you have NTFS? I'd think a different file system would be more useful.
______
Dennis

User avatar
XiaolinDraconis
Posts: 18
Joined: Tue 24 Feb 2009, 22:50

#40 Post by XiaolinDraconis »

cause i have all my data on this drive and no storage big enough to back it all up... it was my extra drive when i used windows

heh guess i managed to kick one of my nastier habits eh

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#41 Post by Aitch »

First: a reminder - this is posted in the "Solutions" section, which is not intended for problems!

XiaolinDraconis

I regularly run puppy 2.14R from liveCD and have ntfs filesystem on a drive with just data - I don't have a problem

How much space do you have on your drive?
Has the filesystem been chkdsk'd & defragged? It is advisable before doing anything to the partition, for which you need to use Gparted from the menu
Make a small Fat32 partition [size depends on available space but 1Gb for starters] for a frugal install, as you can juggle your data easily, [Although Puppy can now read & write to ntfs partitions] or a ext2/3 for a full install & a linux swap [2xram size]

see here, though choose whichever version you like, some may be preferable to your tastes

http://www.murga-linux.com/puppy/viewtopic.php?t=25702

Instead of deleting the ntfs partition, as suggested, just resize it, allowing enough for your 2 new partitions, & format them - it's a fairly intuitive GUI process

I would advise just getting used to puppy from liveCd first, though

Any further problems, I suggest starting a new thread in the beginners section, & give any details of your hardware & problems, for best support

Aitch :)

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Booting Puppy from ntfs without windows being present

#42 Post by mcewanw »

XiaolinDraconis wrote:grrr everywhere i look to install to ntfs i get this same answer.... this is not the answer to install to ntfs it is for installing grub in windows! i have ntfs but no windows!!!!!
You don't need Windows to boot Puppy from an ntfs partition, as I described here once upon a time. Of course you'd be advised to use a more recent version of grub4dos etc now and the method works with the newest Puppy too. There have been some newer Puppy developments since then though which allow you to put the Puppy frugal files into their own directory (might also be some device name changes such as /dev/sd... instead of /dev/hd... etc), which probably isn't covered in this howto:

http://www.murga-linux.com/puppy/viewto ... =859595646

I personally always use grub4dos in the mbr method rather than that of the method adopted in the Lin'N'Win project, because I don't want to rely on Windows (and generally end up removing Windows from any computer I buy). Having said that, once I remove Windows altogether, I usually also get rid of ntfs partitions too (but it's true that I could keep using ntfs if I had a reason too).

Of course the method used by Lin'N'Win is easier/"safer" for many users if they are not confident about modifying the mbr with grub4dos; but it is perfectly safe if you know what you are doing. Certainly you can lose access to your partitions and Windows install if you are not careful; the answer is to be careful and practice on machines which you don't mind re-installing... Once you understand the concepts the grub4dos in mbr method is perfectly fine, and very versatile.

For those with Windows on the partition, it is possible to also use standard grub with window-XPs bootloader, using a trick or too, but it is more complicated as detailed (for slax) in an ancient post here:

http://slax.hosting4p.com/forum/viewtopic.php?t=7395

[EDIT: the above link seems to be down or vanished, see my next post for what was in it. Luckily I had a copy of the info on my machine...]
Last edited by mcewanw on Fri 27 Mar 2009, 00:12, edited 1 time in total.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

using normal grub to boot Puppy from NTFS (old slax post)

#43 Post by mcewanw »

[Note: that I recommend either the method used by Lin'N'Win project: http://www.icpug.org.uk/national/linnwi ... innwin.htm
or the grub4dos in mbr method instead: http://www.murga-linux.com/puppy/viewto ... 180#135180,
but I've posted this alternative here for technical interests sake. Also see method in http://tinycorelinux.com/forum/index.php?topic=459.0 - mcewanw]

Posted: Sun Oct 30, 2005 6:14 pm Post subject: Install SLAX to Win-XP machine w/out messing up Win-XP Reply with quote
This post tells you how I installed SLAX to my Windows-XP machine. It is done by using WinXP's own bootloader (ntldr). This method has the advantage of NEVER making your windows unbootable.

Target:
People who dont want to install linux bootloaders (like GRUB or Lilo) in their MBR, and thus are not required to configure them so that they boot Windows.
ie: linux noobs like myself Smile

Links i used:
hacks.oreilly.com/pub/h/2337
slax.org/forum/viewtopic.php?t=7230

Start
My HD before the SLAX install was like this:
partition1 - primary - NTFS (with win-xp) - 4GB
partition2 - primary - FAT32 (data partition - 36GB

I started with freeing some space for SLAX's partitions, by using partition magic (can also be done with parted/qtparted) to resize partition2 from 36GB to 33GB
Important note: I defraged partition2 before resizing it, ensuring that the free space in it would be in the end of the partition.

Next, I booted SLAX cd, and used cfdisk to make swap (512MB) and ext3 (2.5GB) partitions.
Code:
cfdisk /dev/hda

After a quick reboot, I then made the filesystems in those, and mounted hda4
Code:
mkswap /dev/hda3
mkfs.ext3 /dev/hda4
mkdir /mnt/hda4
mount /dev/hda4 /mnt/hda4


Then I installed Slax to /mnt/hda4
Code:
cp --preserve -R /{bin,dev,etc,home,lib,root,sbin,usr,var,opt} /mnt/hda4
mkdir /mnt/hda4/{boot,mnt,proc,sys,tmp}
cp /boot/boot/vmlinuz /mnt/hda4/boot


I needed to get GRUB from the internet and install it:
Code:
wget ftp://ftp.slackware.com/pub/slackware/s ... i486-2.tgz
installpkg grub-0.97-i486-2.tgz


Next, I made a backup (just in case, hehe) of the MBR, and installed GRUB in the hd4 partition, not in the HD's MBR
Code:
dd if=/dev/hda of=/mnt/hda2/backup.mbr bs=512 count=1
grub-install --root-directory=/mnt/hda4 /dev/hda4
echo "timeout=4

title Slax
kernel /boot/vmlinuz max_loop=255 root=/dev/hda4 vga=normal rw" > /mnt/hda4/boot/grub/menu.lst


My HD after the SLAX install looks like this:
partition1 - primary - NTFS (with win-xp) - 4GB
partition2 - primary - FAT32 (data partition - 33GB
partition3 - primary - linux-swap - 512MB
partition4 - primary - linux-ext3 (with SLAX) - 2.5GB

At this time I dumped the SLAX bootloader (GRUB) to a file:
Code:
dd if=/dev/hda4 of=/mnt/hda2/slax.mbr bs=512 count=1
Note:/mnt/hda4 is where I installed GRUB, and /mnt/hda2 is where my FAT32 partition is mounted (must be RW in SLAX). If you dont have a FAT32 partition, you can use a floppy disk or usb-flash-drive to store the file.

I shutdown SLAX, took the cd out of the drive and rebooted (at this point it boots normaly into Win-XP because SLAX is not visible yet)

In win-xp, I moved the slax.mbr file from my FAT32 drive (d:\) to c:\ (where my Win-xp is installed).
Next, I edited my c:\boot.ini file and added c:\slax.mbr="SLAX" in the last line.
My boot.ini looks like this now:
Code:
[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
c:\slax.mbr="SLAX"
Note: you may have to clear the hiden and read-only attributes in c:\boot.ini to be able to edit this file.

That's it. I rebooted and saw the "SLAX" option along with win-xp.
_________________
The bigger they are, the harder they fall...
thank god SLAX is so tiny!

Last edited by Dude on Tue Sep 12, 2006 11:26 pm; edited 1 time in total

Post Reply