How to boot from HDD without using floppy ?

Booting, installing, newbie
Message
Author
JustAuser

How to boot from HDD without using floppy ?

#1 Post by JustAuser »

Hi!
Can anybody tell me is there a way to boot the puppy from the HDD without using floppy? (im using notebook without flp)

What i've done is that I created extendet partition with ext2fs.
After that I exec hdd-install2 script but i skiped steps 4 and 5 (creating a bootable floppy disk). So at the end i had all directories structure on my linux partition and I also copied vmlinuz to it.
The next step is that I tried to install Boot Loader (from Paragon). It recognized the linux partition but when i try to boot it stops at some line which says:
Kernel Panic - try to pass init= parametr.
Any suggestions ?

Jester626
Posts: 5
Joined: Thu 05 May 2005, 19:56

#2 Post by Jester626 »

Well, some people have been able to get puppy to boot from a HDD, I have taken a look at the process and decided that since puppy V 1.0.2 is due out within the next week and it will have an automated process to select a full blown HDD Install.

I'm just going to wait the 7 days before I go and do the native install.

Hope this helps a bit

J

jimbo
Posts: 18
Joined: Sat 07 May 2005, 23:25
Location: Sandy, Utah

Re: How to boot from HDD without using floppy ?

#3 Post by jimbo »

There are a couple of ways to boot Puppy from a HD without a floppy. What else do you have installed on your PC?

jimbo
JustAuser wrote:Hi!
Can anybody tell me is there a way to boot the puppy from the HDD without using floppy? (im using notebook without flp)

What i've done is that I created extendet partition with ext2fs.
After that I exec hdd-install2 script but i skiped steps 4 and 5 (creating a bootable floppy disk). So at the end i had all directories structure on my linux partition and I also copied vmlinuz to it.
The next step is that I tried to install Boot Loader (from Paragon). It recognized the linux partition but when i try to boot it stops at some line which says:
Kernel Panic - try to pass init= parametr.
Any suggestions ?

PeterSieg2

HDD install with grub - no floppy required!

#4 Post by PeterSieg2 »

Hi, just check this forum under annoucements.
That description and attached file allow type 1 and type 2 install with grub as boot manager.
It is setup for ONLY Puppy on the hdd!!!
If you (get to) know grub, can be altered to allow also some win$ stuff to coexist..

PS

kmoffat
Posts: 6
Joined: Sun 08 May 2005, 16:48

#5 Post by kmoffat »

Does that mean that if you already have a grub installation that is booting other distros, that you cannot add puppy to that installs "/boot/grub/menu.lst" so it will be on the grub menu?

User avatar
mouldy
Posts: 663
Joined: Wed 04 May 2005, 21:47

#6 Post by mouldy »

If only running linux you can make a tiny dos partition at beginning of hardrive. Do a sys c: after booting from a dos floppy or cd (win98 boot disk works fine or I tend to use the EBCD boot cd). That will install minimal dos systems files to make the partition bootable to dos prompt. Install loadlin or tiny and setup an autoexec.bat file that automatically runs loadlin when this dos partition boots. Then set loadlin (or tiny) to boot the Puppy partition.

Can also do this if your computer has a dos based windows version. Think there have been posts on old forum on various and good ways to do this.

Nothing wrong with Grub or Lilo, but I just like loadlin when I only have puppy. Loadlin is simple and darn near foolproof. If I am adding linux to windows hardrive then Grub is way to go.

User avatar
JohnMurga
Site Admin
Posts: 555
Joined: Wed 04 May 2005, 04:26
Location: Far to the east
Contact:

#7 Post by JohnMurga »

Also, a while ago Bladehunter had a very interesting posting about booting Puppy over the network with PXE ...

Now that is cool ;-)

Cheers
JohnM

Auda
Posts: 131
Joined: Sun 08 May 2005, 20:08
Location: New Zealand ( Christchurchish )

Smart Boot Manager

#8 Post by Auda »

I have been using SBM to boot puppy from my hda2 fat32 partition. Well I guess thats not quite right Smb boot dos and then tiny boots puppy
Works well enough with 1.01 but 0.98 wont boot it gets partway through loading image.gz and crashes :-( Ideas anyone ?
SBM is here http://btmgr.webframe.org/index.php3?body=download.html
Auda

User avatar
danleff
Posts: 294
Joined: Sun 08 May 2005, 13:11
Location: Albany, NY
Contact:

#9 Post by danleff »

hehe... try a mini-itx system w/o a floppy or cdrom drive! Puppy will not recognize an external dvd/cdrw drive that I attached, so the type 2 install fails. I did a "poor man's install" on a fat32 partition and it worked with an already existing grub.

I'm waiting for a slimline ide converter cable to add an ide cdrom drive to the system.

Grub can be a little finicky about syntax. on my main box, that has a prior Suse install, I passed the following (assuming Puppy on an ext2 partition on hda5);

Title Puppy 1.0.1
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5


Remember, the kernel (hd0..) starts at zero and the root= starts at one (hda1), for a primary master drive.

Make sure that there is a space after the last kernel line entry.
I love it when a plan comes together

--Hannibal Smith

Guest

#10 Post by Guest »

danleff,
was that external drive a usb drive?
If so, it is probably a matter of loading the appropriate driver... or maybe not.

PeterSieg2

grub nstall Puppy with other os and grub already there

#11 Post by PeterSieg2 »

kmoffat wrote:Does that mean that if you already have a grub installation that is booting other distros, that you cannot add puppy to that installs "/boot/grub/menu.lst" so it will be on the grub menu?
No, that means install type 1 or type 2 as you wish. But before grub gets
installed, press CTRL-C to skip this!! Then alter your existing /boot/grub/menu.lst so that you have a working entry for Puppy...
You can have a look in the unzipped boot/grub/menu.lst to know how the entry must look alike...

It is just, that the scripts I mentioned, don't assume any other os in coexistence :(
I had to find an easy way also for novice users for such an difficult task :)

You can of course also complete the hdd install and then edit the /boot/grub/menu.lst file to enter an appropiate entry for your other(s) os afterwards...

(So many choices :) )

But for other os's, propably wait until 1.0.2 is out with Barry's code of
hdd install with grubconfig and see how this goes...

PS

Bruce B

A brief HOWTO install GRUB in MS-DOS

#12 Post by Bruce B »

There is a version of GRUB for MS-DOS in case anyone is interested. Very easy to install and doesn't modify the MBR (Master Boot Record) which you may find an advantage, depending on your setup. Installation is quite simple also.

You can download the package at:

http://www.ibiblio.org/pub/micro/pc-stu ... rub013.zip

(I thought it should be ftp.ibiblio.org but gFTP accesses it at www.ibiblio.org)

Here is a brief step-by-step how to install it with MS-DOS (not FreeDOS because it only works with MS-DOS)

1) download grub013.zip

2) make directory c:\boot\grub

3) extract grub.exe and menu.lst from grub013.zip to c:\boot\grub (leave the other files in the zip package because these two files are all you need)

4) edit menu.lst for Puppy (see my example at end of post)

5) you can run grub.exe in config.sys with a menu system

use:
install=c:\boot\grub\grub.exe

or try shell statement I think this works also:
shell=c:\boot\grub\grub.exe

or in autoexec.bat

c:\boot\grub\grub.exe

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

EXAMPLE MENU.LST

you will have to modify partition location and pupfile name and size
to suit your needs. this is for an example only.

===================

color white/blue black/light-gray
# default 0
# timeout 8


title Drive C:
root (hd0,0)
chainloader +1

# (example for type 1 install)
title Puppy
rootnoverify (hd0,4)
kernel /vmlinuz root=/dev/ram PFILE=pup1-none-131072 PHOME=hda5
initrd /image.gz

# (example for type 2 install)
title Puppy (hda6)
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6

title Floppy
root (fd0)
chainloader +1

title Reboot Computer
reboot

Bruce B

Addendum to - A brief HOWTO install GRUB in MS-DOS

#13 Post by Bruce B »

If I remember right (maybe I don't) I think on the type 2 install I created a /boot directory for vmlinuz for use with the GRUB menu.lst example above.

User avatar
mouldy
Posts: 663
Joined: Wed 04 May 2005, 21:47

#14 Post by mouldy »

However, its doc says: "Important Note: It supports FreeDOS build 2029. However, since FreeDOS build 2030 saved a wrong BIOS interrupt vector table, it cannot be supported by GRUB.EXE." Hope this be fixed soon by FreeDOS maintainers. Since build 2031 just came out, I wonder if it's working again?

Bug was fixed according to this:

http://www.freedos.org/freedos/news/technote/201.html

Bruce B

GRUB for DOS and FreeDOS

#15 Post by Bruce B »

mouldy wrote:However, its doc says: "Important Note: It supports FreeDOS build 2029. However, since FreeDOS build 2030 saved a wrong BIOS interrupt vector table, it cannot be supported by GRUB.EXE." Hope this be fixed soon by FreeDOS maintainers. Since build 2031 just came out, I wonder if it's working again?

Bug was fixed according to this:

http://www.freedos.org/freedos/news/technote/201.html
Mouldy, I think your information is correct. Except the GRUB.EXE needs some kind of update to make it work with the newer FreeDOS kernel release numbers or something like that.

I don't think GRUB for DOS is maintained any longer. Where is the source code? It would be nice to get it fixed because the whole idea was to make it work with FreeDOS.

wscarl
Posts: 99
Joined: Mon 16 May 2005, 15:22
Location: NY

Got this off the old forum use it with 1.0.1 it works

#16 Post by wscarl »

This works
THis wiill install Puppy on single hard drive in hda1 (this is not for shared data it is one hard disk dedicated to Puppy
You will need one hard disk
Need One Puppy CD
THe blessing of the all knowing central Data bank ( need to DL)

* Boot up Puppy CD
* Go to rxvt command line (icon on desktop)
* type cfdisk [Enter] and create a primary hda1 Linux ext 2 partition
(Toggle Bootable)
* downlond "grubhd.zip" to root directory and click on it. This should load tkzip automatically (select all and unzip to root/) (http://www.geocities.com/petersieg/grubhd.zip)
* go to root with rxvt and type "./install-hdgrud.sh" [no quote marks]
* when you get a grud prompt type
root (hd0,0)
setup (hd0)
*reboot

achilles
Posts: 5
Joined: Mon 16 May 2005, 16:27

#17 Post by achilles »

I've been wrestling with attempts to install puppy on an
IDE hard disk. wscarl's posting has just (I hope) solved
my problem. However, I think there are a couple of
typos 'grud' for 'grub'.

Any suggestions for the ext2 partition size - 2gig
adequate for the time being?

wscarl
Posts: 99
Joined: Mon 16 May 2005, 15:22
Location: NY

1.0.2rc or 1.0.2 new puppy has Grub in HD install script

#18 Post by wscarl »

User the max of HD - New puppy is easyer
Install on 233mhz 64meg 3.2hd Laptop -the old dog runs like a new puppy!
for systems >128 ram (posted on how to install on 32meg system)
Boot from Puppy CD (1.0.2rc or 1.0.2)
Go to rxvt command line (icon on desktop)
type cfdisk [Enter] and create a primary (bootable) hda1 Linux ext 2 partition
run the HD install wizard
option 2
/dev/hda1
y to take over HD
n to floppy
y to grud
first choice on all grub
system and boot.
if nee any more info email me at: windowsystemcomputers@yahoo.com

TGZ

Re: A brief HOWTO install GRUB in MS-DOS

#19 Post by TGZ »

Hello
tried it but get error Kernel panic: No init found. Try passing init= option to kernel. ?
any idea?

Puppy on (hd0,0)


Thanks

Bruce B wrote:There is a version of GRUB for MS-DOS in case anyone is interested. Very easy to install and doesn't modify the MBR (Master Boot Record) which you may find an advantage, depending on your setup. Installation is quite simple also.

You can download the package at:

http://www.ibiblio.org/pub/micro/pc-stu ... rub013.zip

(I thought it should be ftp.ibiblio.org but gFTP accesses it at www.ibiblio.org)

Here is a brief step-by-step how to install it with MS-DOS (not FreeDOS because it only works with MS-DOS)

1) download grub013.zip

2) make directory c:\boot\grub

3) extract grub.exe and menu.lst from grub013.zip to c:\boot\grub (leave the other files in the zip package because these two files are all you need)

4) edit menu.lst for Puppy (see my example at end of post)

5) you can run grub.exe in config.sys with a menu system

use:
install=c:\boot\grub\grub.exe

or try shell statement I think this works also:
shell=c:\boot\grub\grub.exe

or in autoexec.bat

c:\boot\grub\grub.exe

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

EXAMPLE MENU.LST

you will have to modify partition location and pupfile name and size
to suit your needs. this is for an example only.

===================

color white/blue black/light-gray
# default 0
# timeout 8


title Drive C:
root (hd0,0)
chainloader +1

# (example for type 1 install)
title Puppy
rootnoverify (hd0,4)
kernel /vmlinuz root=/dev/ram PFILE=pup1-none-131072 PHOME=hda5
initrd /image.gz

# (example for type 2 install)
title Puppy (hda6)
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6

title Floppy
root (fd0)
chainloader +1

title Reboot Computer
reboot

Bruce B

Ideas?

#20 Post by Bruce B »

This was my example:

# (example for type 1 install)
title Puppy
rootnoverify (hd0,4)
kernel /vmlinuz root=/dev/ram PFILE=pup1-none-131072 PHOME=hda5
initrd /image.gz

----------

You are booting from hda1 - let's modify the example:

# (example for type 1 install)
title Puppy
rootnoverify (hd0,0)
kernel /vmlinuz root=/dev/ram PFILE=pup1-none-131072 PHOME=hda1
initrd /image.gz

----------

Note: In this example the following three files need to be on the root (C:\)

* vmlinuz
* image.gz
* usr_cram.fs

---------

What else? I think it best to not load drivers or anything like that, make a clean DOS boot.

Questions if you think they apply:

What FAT type?
How much free space?
How much RAM?
How are you running grub.exe?

Post Reply