LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-26-2010, 12:53 PM   #1
redfusion
LQ Newbie
 
Registered: May 2010
Posts: 8

Rep: Reputation: 0
Question Install Grub v1 from install DVD on lenny x64


I have installed Debian 5 x64 from install DVD with no bootloader. The default Grub v2 and LILO will not work with my system and I need to install Grub v1.

Can this be done from the shell in install mode before I finish the installation?

Thanks!
 
Old 05-26-2010, 01:12 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I don't see why not. I would guess you'd want to select no bootloader, then switch to a virtual terminal and chroot into your install. From the chroot, you should be able to aptitude install grub.
 
Old 05-26-2010, 03:39 PM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
No, you'd need grub-legacy. Grub will point to Grub2, which is exactly what the OP doesn't want
 
Old 05-26-2010, 04:41 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I think in Lenny grub is grub-legacy (i.e. in Lenny there is no grub-legacy package). In Squeeze, grub will be a dummy package referencing grub2 (actually referencing grub-pc, grub-efi, etc) while grub v1 will be grub-legacy.
 
Old 05-27-2010, 06:34 AM   #5
redfusion
LQ Newbie
 
Registered: May 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez View Post
I don't see why not. I would guess you'd want to select no bootloader, then switch to a virtual terminal and chroot into your install. From the chroot, you should be able to aptitude install grub.
I ran aptitude install grub and it removed grub-pc and installed grub. How do I verify what version it is? Doesn't really matter since it did not work. I will try grub-legacy next...
 
Old 05-27-2010, 07:27 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by redfusion View Post
I ran aptitude install grub and it removed grub-pc and installed grub. How do I verify what version it is?
How about
Code:
dpkg -l grub
Or for more details
Code:
zless /usr/share/doc/grub/changelog.Debian.gz
Or perhaps
Code:
zless /usr/share/doc/grub/README.Debian.gz
Cheers,

Evo2.
 
Old 05-30-2010, 09:17 PM   #7
redfusion
LQ Newbie
 
Registered: May 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez View Post
I think in Lenny grub is grub-legacy (i.e. in Lenny there is no grub-legacy package). In Squeeze, grub will be a dummy package referencing grub2 (actually referencing grub-pc, grub-efi, etc) while grub v1 will be grub-legacy.
You are correct there is no grub-legacy support in lenny

I've been trying to install debian on my mac mini for 3 days now. Can't get it to boot. I tried linux mint and it ran fine with grub v2. So its not grub but some setting the installer is messing up on. Grub v2 looks much complicated but I guess I will try to figure out the difference in configuration from mint.
 
Old 05-30-2010, 09:30 PM   #8
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Check here:
http://forums.debian.net/viewtopic.p...=20481&start=0
From what i understand there are a couple of people who might give you a hand with Debian/powerpc.
If that was wrong: sorry, i don't know mac.
 
Old 05-30-2010, 09:43 PM   #9
redfusion
LQ Newbie
 
Registered: May 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by j1alu View Post
Check here:
http://forums.debian.net/viewtopic.p...=20481&start=0
From what i understand there are a couple of people who might give you a hand with Debian/powerpc.
If that was wrong: sorry, i don't know mac.
I'm trying to put this on a intel C2D mac mini. I'm coming over from the rpm side and was looking forward to running debian but will have to wait to sort out the boot loader issues. Weird thing is linux mint ran fine and was a breeeeze to install. I just dont need all those bells and whistles.

Thanks for the reply.
 
Old 05-31-2010, 10:46 AM   #10
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
I just dont need all those bells and whistles.
The bells and whistles of Mint or of grub2?
If its Mint, and you would like to get the grub-stuff sorted:
https://help.ubuntu.com/community/Gr...ing%20GRUB%202
scroll down to <uninstall grub2>, nearly at the bottom of the page.

If nothing has changed Lenny-install-media use grub (not grub-legacy or grub2 or lilo, but grub). Packages in Lenny don't change (only security updates) so i wouldn't know why there should be grub2 in the Lenny-installer. But if you say so...

I for one prefer using a live-cd, mounting the installed OS and chrooting into it.
to repair/re-installl grub. (instead of doing it from a installation media).


But Mint is good.You might also stick with it (to get the hang of the debian-based systems).
Its never big fun fiddling with grub.
 
Old 05-31-2010, 04:44 PM   #11
redfusion
LQ Newbie
 
Registered: May 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by j1alu View Post
The bells and whistles of Mint or of grub2?
mint. I want to run a headless server


Quote:
If nothing has changed Lenny-install-media use grub (not grub-legacy or grub2 or lilo, but grub). Packages in Lenny don't change (only security updates) so i wouldn't know why there should be grub2 in the Lenny-installer. But if you say so...
I ran aptitude install grub-legacy and no package was found. grub was just a pointer to grub v2 as mentioned earlier

I going to try elilo and grub-efi today. See what happens if not then Mint it is.
 
Old 05-31-2010, 05:35 PM   #12
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
user$ cat /etc/debian_version
5.0.4
user$ apt-cache policy grub
grub:
Installed: 0.97-47lenny2
Candidate: 0.97-47lenny2
Version table:
*** 0.97-47lenny2 0
500 http://ftp.debian.org lenny/main Packages
100 /var/lib/dpkg/status

http://packages.debian.org/search?ke...le&section=all
 
Old 05-31-2010, 05:51 PM   #13
redfusion
LQ Newbie
 
Registered: May 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by j1alu View Post
user$ cat /etc/debian_version
5.0.4
user$ apt-cache policy grub
grub:
Installed: 0.97-47lenny2
Candidate: 0.97-47lenny2
Version table:
*** 0.97-47lenny2 0
500 http://ftp.debian.org lenny/main Packages
100 /var/lib/dpkg/status

http://packages.debian.org/search?ke...le&section=all
Guessing its not on DVD 1 but thanks for checking. I might try to hook it to the internet.

Did you install your OS from media?

Last edited by redfusion; 05-31-2010 at 05:52 PM.
 
Old 05-31-2010, 05:55 PM   #14
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Yes, i usually install from CD1 (that is: not from DVDs and not from netinstall).

I do a lot of installations in VirtualBox (mostly Debian, seldom other OSes). I am quite sure that Lenny comes with grub and squeeze comes with grub2.
But you know how it is if one is sure...

Last edited by j1alu; 05-31-2010 at 05:57 PM.
 
Old 06-01-2010, 05:37 PM   #15
gnudude
Member
 
Registered: Apr 2009
Posts: 46

Rep: Reputation: 28
In lenny, grub is grub-legacy, and that is what is installed by default.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(serious) grub prolem unable to install xp (or boot any cd/dvd) meandsushil Linux - Newbie 6 03-31-2010 04:42 AM
Cannot install glassfish on debian Lenny x64 pliqui Linux - Server 1 01-13-2010 10:33 PM
multi boot with grub after debian lenny install Elixer Linux - Newbie 1 12-26-2009 02:12 AM
Unable to install gfxboot-grub on Debian Lenny sd|| Debian 2 11-07-2009 05:03 PM
can i run linux mandriver x64 with windows x64 bit if so wich one should i install fi malmac2000 Linux - Software 2 04-26-2006 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration