PDA

View Full Version : How to install GRUB?



morgan73
09-22-2004, 10:15 AM
Well, thats what I have:
laptop with no FDD
knoppix with poor man's install (iso image is on c:/ - hda1, and the home directory is on d:/ - hda5)
on the c:/ -hda1 is my WinXP, and on the d:/ - hda5 I have other files and programs, which I use with windows, so I need them and that's why I can't format this partition and make a knoppix full hdd install.
So, how can I install GRUB???
I've tryed to install it trough knoppix, but I had no success:(
There was a message that I can't write to hda1 and hda5 anything (even they are mounted and fully writable).
I have no USB drive to boot from, only CDRom. So, how can I install GRUB?

ruymbeke
09-22-2004, 12:31 PM
Well, thats what I have a laptop with no FDD ... I have no USB drive to boot from, only CDRom. So, how can I install GRUB?
You can install grub into the mbr of your disk, but you don't have to !
You can do it all from windows (and also remove it all) using explorer and notepad. Basically you just need to add the line "c:\grldr="Start Grub" at the end of your c:\boot.ini and add some files in your ntfs /dev/hda1 partition. Then reboot and enjoy...
I will sugest you to have a look at this forum: http://www.knoppix.net/forum/viewtopic.php?t=11796&postdays=0&postorder=asc&start=90
Cheers, Gilles

shah
09-22-2004, 12:37 PM
For normal hdd installation:
apt-get install grub
/sbin/grub-install /dev/hda
update-grub
Then check /boot/grub/menu.lst and edit to your requirement.

But for your system, that procedure, I don't think will work since you are using poorman hdd install. Apt-get will not work so do with installation of other application from source code. Unless you use klik and point.

Your option is to use Grub for Dos.
http://newdos.yginfo.net/grubdos.htm
Don't ask me how because I never use it.
Check on post title ISO boot from NTFS (GRUB.exe, grldr from boot.ini)
http://www.knoppix.net/forum/viewtopic.php?t=11796
They been actively discussing about it
Good luck :D :D :D :D

ruymbeke
09-22-2004, 12:50 PM
Your option is to use Grub for Dos.
http://newdos.yginfo.net/grubdos.htm Don't ask me how because I never use it.
The version of grub I have been using is in this post
ISO boot from NTFS (GRUB.exe, grldr from boot.ini) http://www.knoppix.net/forum/viewtopic.php?t=11796
is based on grub4dos ... I just recompiled it with the latest patches and network support. Good luck, Gilles

morgan73
09-22-2004, 02:21 PM
Just to say that I`m using Fat32 on both C: and D: instead of NTFS
But everywhere is discusing about the NTFS. Is there any difference abou instaling and configuring GRUB to run Knoppix with poor man`s install?

Hemi-Cuda
09-22-2004, 04:46 PM
used above regular hd install method to install GRUB, works fine. only problem is some stuff is in german, like all the apt-get stuff. yet i have all the regional options set to US. anyway to fix this?

ruymbeke
09-22-2004, 05:40 PM
Just to say that I`m using Fat32 on both C: and D: instead of NTFS
But everywhere is discusing about the NTFS. Is there any difference abou instaling and configuring GRUB to run Knoppix with poor man`s install?
It works as well if you a fat16/32. If you are running 98 or me you can also use grub.exe from dos. grldr is launched from nt/xp boot loader using the boot.ini. Gilles

Henk Poley
09-22-2004, 08:36 PM
used above regular hd install method to install GRUB, works fine. only problem is some stuff is in german, like all the apt-get stuff. yet i have all the regional options set to US. anyway to fix this?
A temporary fix is to do:

export LANG=C
Everything will be in English again.

But I'm currently (also) looking for a more permanent fix.

Henk Poley
09-22-2004, 08:53 PM
Permanent fix:

dpkg-reconfigure locales
Use this program to clean out the locales you don't need (aka keep en_US, en_GB, and maybe your local languages). Then on the next screen you may chose the system language. You should chose en_US I think, since not all debian stuff maybe translated, or that well translated. After you chose [OK] it will start cleaning the locales it has stored.

KDE has it's own language settings. But sometimes the locale settings peek trough, the Kaffeine mediaplayer is an example of this.

Hemi-Cuda
09-22-2004, 10:47 PM
found a better option i think. just stuck the lang=us cheatcode in my grub menu.lst file, at the end of the kernel statement. console and everything else is in english now, so seems good

Gemu
02-09-2009, 11:51 PM
For normal hdd installation:
apt-get install grub
/sbin/grub-install /dev/hda
update-grub
Then check /boot/grub/menu.lst and edit to your requirement.

But for your system, that procedure, I don't think will work since you are using poorman hdd install. Apt-get will not work so do with installation of other application from source code. Unless you use klik and point.

Your option is to use Grub for Dos.
http://newdos.yginfo.net/grubdos.htm
Don't ask me how because I never use it.
Check on post title ISO boot from NTFS (GRUB.exe, grldr from boot.ini)
http://www.knoppix.net/forum/viewtopic.php?t=11796
They been actively discussing about it
Good luck :D :D :D :D


Can you install grub to a partition in that manner? I installed Knoppix 5.3.1 to sda7 but the installer didn't install all the grub files and left a blank menu.lst. I have not got it to boot yet. It almost booted from my Ubuntu menu.lst with an old puppy entry but froze. Do you need to run a live cd to install grub or can you do it straight from Ubuntu?