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 24 Oct 2014, 21:48
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Puppy 4.31 as wireless gateway
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 5 Posts_count   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Sat 01 Feb 2014, 20:14    Post_subject:  

sindi wrote:
Puppy 1, at least when booted from live CD, insists on making pup100 256MB in hda1 - can it do that in NTFS?

Oops, I just remembered - no!
Puppy1's NTFS-write function was not good enough at that stage to reliably create a savefile on an NTFS filesystem ...
... however, there's a clever workaround -
copy a pre-made savefile into place, then Puppy1 can safely re-write this file each time it needs to.
Pre-made savefiles for Puppy1 are available here -
http://dotpups.de/files/pup001-different-sizes/

Having said this, I personally dislike the idea of doing a frugal installation onto NTFS.
My preference would be to use a third-party partitioning tool under Windows XP to shrink the existing partition, then create an ext3 partition plus Linux-swap partition for Puppy.

sindi wrote:
Do I need wpa_supplicant if I assign IP addresses manually?

Yes. The IP address is assigned after wpa_supplicant has negotiated a wifi connection.

sindi wrote:
Can I just type the WPA2 key into some file?

Yes, /etc/wpa_supplicant.conf
- read the instructions -
http://dotpups.de/dotpups/Wifi/wireless-utilities/wpa_supplicant_README.txt
Back to top
View user's profile Send_private_message 
sindi

Joined: 16 Aug 2009
Posts: 395

PostPosted: Sat 01 Feb 2014, 21:58    Post_subject: puppy 1 dual-booted with XP or arch linux
Sub_title: from NTFS, or SD card, or USB flash drive
 

I ran live CD Puppy 1.07 on another computer (with Smart Boot Manager to permit boot from CD) and it automatically creates a pup100
about 256MB which I can transfer to another computer via LAN or with a PCMCIA USB card (PS/2 powered). I would just need to change
resolution (assuming Xvesa works) or run xorgwizard, and set up sound with a line in rc.local (OSS sound - insmod module irq=.....)
I have been moving puppy 4 save files between computers like this.

What utility can XP use to shrink itself while running and make an ext2 partition to use for linux (and ideally also a FAT32 partition
for DOS that lets me play with loadlin)? If I put the hard drive in another computer would gparted or PQMagic safely shrink NTFS?
I normally stay away from anything with NTFS on it. Or replace XP with MicroXP but that does not usually work with wifi.

I could format my 128MB USB flash drive to FAT32 and learn to make a pup100 save file for use on NTFS hard drive, or get a larger
flash drive and run puppy from that. .

Or:

Another option is to dual-boot puppy on the 2007-Arch-Linux netbook.

Today the netbook got the the neighbors' signal quite strongly during extremely wet weather (6" wet snow plus sleet plus rain) -
38% instead of as little as 15%. It has no iptables. pacman was too old to find a repository automatically. I downloaded
iptables package and pacman -U was supposed to install it but kept looking for a repository instead. Every thing I do on that
computer except email requires typing sudo first. I don't want to mess up our only internet connection at that address by replacing
arch (which loses its sound and needs frequent reboots to get it back) with puppy for eeepc on the SSD (20GB) but could boot puppy
from USB flash drive or SD card reader (built-into the netbook as hdc1). I assume a 2007 netbook will boot from anything USB
(floppy, CD, SD card) though a 2002 laptop would not.

I have a 64MB SD card which should hold onebone 2.10 (29MB), or barebones 1.04 (40MB) or 2.01 (47MB). The save file can go on the
20GB ext2 SSD drive to hold any missing pieces such as wifi drivers and iptables and sound modules. Which would work best?
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Sat 01 Feb 2014, 22:51    Post_subject:  

sindi wrote:
What utility can XP use to shrink itself while running
...
If I put the hard drive in another computer would gparted or PQMagic safely shrink NTFS?

Yes, PowerQuest Partition Magic is the best-known, and well-regarded. It can be done from within a running XP installation.
GParted ... yes ... it can be used - there are some notes here
http://gparted.org/faq.php#faq-7
But I would be nervous about using GParted. It doesn't appear to be 100% reliable.

The safest and best way to achieve a multi-partition scheme is to do a fresh install of Windows XP. Yes, it's extra effort, but probably worthwhile.
During the early stage of setup, you have the option to re-partition and re-format the hard drive with NTFS. The default option is to use the entire drive space for a single partition - choose NO, then define a smaller size.
Once XP is fully installed, you will have unallocated/unpartitioned space at the end of your drive. Now use GParted to create 2 new partitions in the unallocated space, and format them as ext3 and Linux-swap.


sindi wrote:
I could format my 128MB USB flash drive to FAT32 and learn to make a pup100 save file for use on NTFS hard drive, or get a larger flash drive and run puppy from that..

Yes, having your pupsave file on a FAT32 USB stick is a good idea, but I think you're making it sound more complicated than it needs to be.
A "pre-made" pupsave file is only necessary for NTFS. It's not necessary for FAT32. Just boot your Puppy-frugal install from NTFS, then when shutting down for the first time, select the USB drive to save to. Your pup100 file is freshly created onto a FAT32 filesystem.
Back to top
View user's profile Send_private_message 
sindi

Joined: 16 Aug 2009
Posts: 395

PostPosted: Sat 01 Feb 2014, 23:46    Post_subject: Can't easily reinstall XP to get ext2 partition  

The 'obvious' solution is to redo XP but:

The computer cannot boot from CD-ROM (unless I buy a proprietary CD-ROM drive).
One solution is to put the drive in another computer, make a FAT32 partition
with DOS, use DOS to copy Win98 files to FAT32 partition.

Replace the drive in C400, boot to DOS, use DOS to install Win98 (setup.exe).
Buy a Win98 > XP upgrade CD and install it using Win98 with USB CD-ROM drive
(having with great good luck found a driver for your drive).

Therefore I don't want to mess up XP on this computer. MicroXP may install
but wireless has only worked on one laptop (orinoco). Orinoco does not do
WPA2. There is half a chance I could get XP to do network bridge.
I would prefer to add puppy linux instead.

Puppy 1 will try to make a 256MB pup100 on hda1 unless I give it one I have.
Puppy 2 should save to a flash drive. I have a 128MB drive that would hold
a small puppy (up to 64MB) plus 64MB save file.

Possible small puppies:

pUPnGO (4.12 based) 6MB - would need to add a lot
Onebone 2.10 (29MB)
Barebones 1.04 (39MB), 2.01 (47MB?), 4.12
FatFree 2.17 (53MB), 3.01 (64MB), 4.21 (50MB).
bbnobrowser 4.21 - no browser or wordprocessor

These are all newer than the 2002 C400.
1 and 2 I think are older than the 2007 netbook.

Will DOS PQM run in XP DOS box?

I could install MicroXP to something else and experiment on it first.
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8365

PostPosted: Sun 02 Feb 2014, 07:14    Post_subject:  

I have done the trick of half installing windows and copying the files...the point where install files are added to the hard drive and a temporary boot is made. Done it with 2000 but not sure if XP does that.

Nowadays I clone a usbootable XP ..so its copy and add ntlldr and boot.ini (can boot that from grub)

mike
Back to top
View user's profile Send_private_message 
sindi

Joined: 16 Aug 2009
Posts: 395

PostPosted: Sun 02 Feb 2014, 10:37    Post_subject: Installing XP half-way; booting Puppy 1  

mikeb wrote:
I have done the trick of half installing windows and copying the files...the point where install files
are added to the hard drive and a temporary boot is made. Done it with 2000 but not sure if XP does that.

Nowadays I clone a usbootable XP ..so its copy and add ntlldr and boot.ini (can boot that from grub)

mike


I don't want to ever install full XP again to anything even if it can be done, but thanks for the idea. Is 'usbootable'
XP installed to USB flash drive?

The challenge is to use what I already have:
WPA2 free signal, eeePC 901 netbook, DELL C400 laptop, crossover cable, 16 and 64MB SD cards (or 128MB flash drive).
(And numerous other laptops as tools).

I will try first to boot puppy 1.07 from SD card in the netbook.

So far it boots in the Omnibook from live CD not HD (loadlin or lilo) even with wakepup 1.1C boot floppy.
I had files in hda3 (ext2) /puppy107 - could not find init (or maybe it was kernel). Same for c:\pup107.

autoexec.bat shows that linld looks for files only in root (main) directory of fat32 partitions, which is where it puts
pup001 save file by default (though you can choose during boot to use one in the main directory of another partition
such as NTFS or ext2). Maybe I can leave usr_cram.fs and pup001 in hda3?
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8365

PostPosted: Sun 02 Feb 2014, 11:07    Post_subject:  

[url]Maybe I can leave usr_cram.fs and pup001 in hda3?[/url]
have some puppy 1's here and pretty sure they would find and run the system file from wherever they are found...the difference is how it layers compared to version 2.

I just mentioned usboot and the other since you mentioned problem with getting windows installed. Usboot does indeed boot standard windows installed to a usb memory stick... it also helps make it portable by the way it alters driver handling so easy to clone.

mike
Back to top
View user's profile Send_private_message 
sindi

Joined: 16 Aug 2009
Posts: 395

PostPosted: Sun 02 Feb 2014, 12:38    Post_subject: puppy 1 boots with wakepup
Sub_title: vmlinuz and image.gz in c:\ usr_cram.fs and pup001 in hda3 (ext2)
 

mikeb wrote:
[url]Maybe I can leave usr_cram.fs and pup001 in hda3?[/url]
have some puppy 1's here and pretty sure they would find and run the system file from wherever they are found...the difference is how it layers compared to version 2.

Wakepup 1.1C needs vmlinuz and image.gz in fat32 (NOT in subdirectory).
Typing 3 or 4 during boot lets me specify location and name of pup001.
usr_cram.fs must be with pup001. Can I specify with linld (loadlin) where
to look for the larger files (pmedia, pdev) or must I do it mid-boot?

I have pupxide in both c: and hda3. Not sure if I need both.

A FAT32 DOS 16GB SD card will hold the two small files, with the others on netbook hdb1.

I don't want to boot from floppy disk (even if wakepup does handle SD cards) because I use the USB
floppy drive for other things and it would be in the way attached to the netbook on windowsill.

When I try to boot with loadlin or linld from c: "less than 4MB of memory".

What is needed in autoexec.bat and config.sys to boot only to (SSD) "IDE hard drive" with enough
memory? Do I need files, buffers, and lastdrive in config.sys? I don't see himem.sys or .exe.

--------------------

I just mentioned usboot and the other since you mentioned problem with getting windows installed.
Usboot does indeed boot standard windows installed to a usb memory stick... it also helps make it
portable by the way it alters driver handling so easy to clone.

The C400 does not boot from USB (hard drive, floppy, cdrom), only from IDE or network or proprietary
floppy or cdrom. If it booted from USB CD or other USB device I could install XP from them. I will
leave XP on there and learn grub4dos or try turbopup.exe.

mike
Back to top
View user's profile Send_private_message 
sindi

Joined: 16 Aug 2009
Posts: 395

PostPosted: Sun 02 Feb 2014, 20:22    Post_subject: Puppy 1 boot problems  

Other people have had the 4MB memory problem. So I tried with
different autoexec.bat and config.sys, in case those were a problem.

I booted with a standard Win9SE boot floppy.

loadlin vmlinuz initrd=image.gz ro root=/dev/ram0

It got further, to 'compressed image found at block 0,' then just sat
there. I could Ctrl-Alt-Del.

I then tried booting in a 233MHz (1998) Micro Transport Trek II with
four times the memory. Live CD boot, which worked in the Omnibook, got
only as far as 'RAMDISK: compressed image found at block 0'. I tried 4.
'ACPI, specify PUP001 location' and 5. 'first boot multisession' - the
latter gave me a kernel panic instead (had to pull the plug). I then
booted with loadlin as on the Omnibook with identical results.

Users of Slackware, Redhat, Debian, Floppix (Polish),and Trinity Rescue
report the same problem. One person had loadlin working on a 133MHz and
not working on a 233MHz. Maybe I just picked the two worst computers
for this test.

I may try Puppy 4.1.2 (pulp) loadlin boot on SD card instead.
Back to top
View user's profile Send_private_message 
sindi

Joined: 16 Aug 2009
Posts: 395

PostPosted: Sun 02 Feb 2014, 23:52    Post_subject: Can't boot SD card in USB card reader  

16MB SD card in Eye-Fi USB card reader. Looked at it with Gparted and set it bootable.
Attempted to access it with DOS but my drivers did not work (UHCI instead of OHCI?).
Used Win98 DOS box to sys it and copy linux boot files (kernel and initrd) to directories
puppy 4.1.2 (pulp), puppy 4.1.3 and two basiclinuxes (2 and 3) that run entirely in RAM.
About 3MB per OS, on 14MB of SD card. The puppy sfs and save files would go onto a hard drive.

The 1998 Trek that I set up the SD card on has USB but no USB boot devices.

I read that booting from USB flash drives started after 2001.

The 2002 DELL C400 has no USB boot.

The 2003 DELL D600 boots from USB floppy and "USB Storage Device" but not from the USB card reader,
which is detected as 'Invalid System Disk'.

The 2004 Compaq boots from (USB?) floppy but not USB storage. It does have an SD card reader.

The 2008 ASUS eeePC 901 is said to boot from USB flash drive or SD card.

SBM does not support USB boot devices (it dates from 2000).

What year did USB flash drive booting become the norm?
Do some computers boot from flash drives but not SD cards (in card slots or readers)?
Back to top
View user's profile Send_private_message 
sindi

Joined: 16 Aug 2009
Posts: 395

PostPosted: Mon 03 Feb 2014, 01:12    Post_subject: Re: Can't boot SD card in USB card reader  

[quote="sindi"]16MB SD card in Eye-Fi USB card reader. Looked at it with Gparted and set it bootable.
Attempted to access it with DOS but my drivers did not work (UHCI instead of OHCI?).
Used Win98 DOS box to sys it ....... [/quote[

The SD card would not boot in a 2007 ACER with 'USB key' boot selected. Invalid system disk.
(And was ignored in the SD card slot).

I read that many computers which support USB flash drive boot do not boot from SD card.

I may need to add a MBR to make the card bootable (mbr.bin from syslinux)???
SD cards can go bad and lose their boot sectors (or MBRs). This is an old one.
Someone came up with a way to make eeePC boot from SD card using grub and a
hard drive boot. It uses an automated install program and I don't have space
to install all the files to SD card. I may try the 128MB flash drive next.

Along the way I found instructions for booting Puppy 1 and 2 with lilo.
sfs and save files cannot be in subdirectories and you need root=/dev/ram0.
Back to top
View user's profile Send_private_message 
sindi

Joined: 16 Aug 2009
Posts: 395

PostPosted: Mon 03 Feb 2014, 13:49    Post_subject: how to make usb flash drives or sd cards bootable  

USB flash drive and SD card both 'invalid system disks' in a 2007 ACER with boot from USB key.
Apparently they don't come with boot sectors. I read one way to add them was DOS fdisk /mbr.

Got some error about no partition on the SD card so copied files off it for reuse, tried to
partition/reformat with PQMagic 8 for DOS (which recognizes USB without needing to first boot
with a USB-supporting DOS boot disk), told Error #106 BAD. Used DOS fdisk to delete the partition
(14.1MB, C:, with D: being hard drive). PQM then made a partition and set it active.
From a:, fdisk recognized the active partition and sys c: worked. fdisk /mbr
(presumably acted on CSmile. command.com is visible on c:.

Now when I try to boot it stops at a flashing cursor on an otherwise blank screen.

DOS fdisk says this is FAT12 and PQM says FAT16.

I will try the method of using dd to copy the first 512 bytes of a bootable DOS floppy to
hard drive image file (mbr.img?) and thence to /dev/sda (or sdb if hd is sda).
Back to top
View user's profile Send_private_message 
sindi

Joined: 16 Aug 2009
Posts: 395

PostPosted: Mon 03 Feb 2014, 14:36    Post_subject: SD card with sda1 and mbr (?) via dd won't boot  

In ACER aspire 2007 booted CD Puppy 4.3.1, 2.6.30 kernel, plugged in usb floppy, not recognized.
Booted to Turbopup 4.2.1, both Xvesa and Xorg crashed.

In Trek from 1998 booted Puppy 4.3.1 retro, put boot floppy in drive and sd card in reader into USB port.
dd if=/dev/fd0 of=/tmp/fdmbr.img bs=512 count=1
dd if=/tmp/fdmbr.img of=/dev/sda
Wrote 512 bytes

Rebooted in ACER - invalid system disk.

The SD card is now seen by puppy as sda1 (it had no partition before).

I cannot mount /dev/sda1 with basiclinux.
If I mount /dev/sda, ls sees files with ??? and other garbage in the names.
du - attempt to access beyond end of device.

I will restore the SD card to its FAT12 unpartitioned state (how?).
Maybe the newer ones (over 16MB) can do be made bootable but this one cannot.

I can put puppy on a 2008 small SONY with cracked screen and dead keyboard and no XP.
Back to top
View user's profile Send_private_message 
sindi

Joined: 16 Aug 2009
Posts: 395

PostPosted: Tue 04 Feb 2014, 18:39    Post_subject: How to boot Puppy from single NTFS partition
Sub_title: grub4dos no longer support ntfs
 

Quote:
I will restore the SD card to its FAT12 unpartitioned state


I can put puppy on a 2008 small SONY with cracked screen and dead
keyboard and no XP.


Reformatted in a WM2003 PocketPC with a free flash formatting app.


The SONY is now booting to Wary 5.5 with grub4dos. (Puppy 4 versions
did not work with the onboard ethernet or wifi). Automated install
after booting without SAVE file in the target partition.

I copied the wary 5.5 files to the C400 (via USB) and followed
instructions for grub4dos, edited my previous menu.lst, then when it did
not work read that grub4dos stopped supporting NTFS in 2007 due to
changes in XP. I removed the line I had added to boot.ini. Dual-boot
lilo also works (for me) only with FAT32.

How do I boot Puppy from an NTFS XP partition without first taking the
drive out and shrinking the partition (and risking destroying XP, which
would greatly upset my partner since this is one of two laptops which
properly displays our 1986 DOS CAD program).

I could maybe install MicroXP in another computer, FAT32, on another
hard drive.

Wireless gateway in XP is called 'ad-hoc connection'. Will try that.
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8365

PostPosted: Tue 04 Feb 2014, 19:07    Post_subject:  

Quote:
then when it did
not work read that grub4dos stopped supporting NTFS in 2007 due to
changes in XP.

news to me...I have grub4dos on ntfs made by XP SP3

mike
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 5 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1233s ][ Queries: 11 (0.0175s) ][ GZIP on ]