LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-21-2004, 12:36 AM   #1
starguymike04
LQ Newbie
 
Registered: Aug 2004
Location: Alabama
Distribution: currently:redhat linux 9, soon maybe:debian3.0 r 2 , and freebsd5.2.1
Posts: 16

Rep: Reputation: 0
adding debian to a previous grub installation


Well first off I am using 3.0r2 w/kernel 2.18.bf2.4 and the / filesystem is on (hd0,2) , I was wondering if someone could tell me EXACTLY what to enter for the booting info in grub it was previously installed w/redhat 9.0 it detects xp,freebsd and redhat but no debian.also i had a previous post on problems with x that i still cant seem to resolve and i am like the newest of newbies and have been typing all day and night to try and figure these things out but it has been to no use, so please just try and help me understand these things i want debian to work i love redhat and have heard better things about debian
 
Old 08-21-2004, 07:46 AM   #2
malbery
Member
 
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60

Rep: Reputation: 15
Hi starguymike04,

I take it that at the moment Redhat is managing your Grub loader?

Do you know what partition your Debian installation is on? From redhat, you should be able to find out by doing fdisk -l /dev/hda (assuming your using your primary harddrive) and cat /etc/fstab. To find your grub loader configuration file, try as root: updatedb and then locate menu.lst.

What do these commands output?
 
Old 08-21-2004, 10:25 AM   #3
starguymike04
LQ Newbie
 
Registered: Aug 2004
Location: Alabama
Distribution: currently:redhat linux 9, soon maybe:debian3.0 r 2 , and freebsd5.2.1
Posts: 16

Original Poster
Rep: Reputation: 0
I know where menu.lst is

I know where the menu.lst file is I have changed it over and over but I guess i am not doing some litle thing right, (hd0,0)IS WINXP, (hd0,2)is debian (hd0,3)is freebsd these are all primary partitions on the first harddisk, redhat resides on (hd1) it uses the whole harddisk.grub is iinstalled on the mbr of the first disk, i need to know wha to put for the kernel and root and all thatEXACTLY
 
Old 08-21-2004, 11:21 AM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,591

Rep: Reputation: 96
Re: I know where menu.lst is

Quote:
Originally posted by starguymike04
I know where the menu.lst file is I have changed it over and over but I guess i am not doing some litle thing right, (hd0,0)IS WINXP, (hd0,2)is debian (hd0,3)is freebsd these are all primary partitions on the first harddisk, redhat resides on (hd1) it uses the whole harddisk.grub is iinstalled on the mbr of the first disk, i need to know wha to put for the kernel and root and all thatEXACTLY
How about posting the file so someone who knows about grub could tell you what you have done wrong.
 
Old 08-21-2004, 08:39 PM   #5
starguymike04
LQ Newbie
 
Registered: Aug 2004
Location: Alabama
Distribution: currently:redhat linux 9, soon maybe:debian3.0 r 2 , and freebsd5.2.1
Posts: 16

Original Poster
Rep: Reputation: 0
here's the menu.lst file for grub

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdd1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8smp)
root (hd1,0)
kernel /boot/vmlinuz-2.4.20-8smp ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-8smp.img
title DOS
rootnoverify (hd0,0)
chainloader +1


title FreeBSD 5.2.1r
rootnoverify (hd0,3)
chainloader +1
title Debian 3.0r2
root (hd0,2)
kernel /boot/vmlinuz-2.4.18-bf2.4 root=(hd0,)

All help appreciated
 
Old 08-21-2004, 09:37 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,591

Rep: Reputation: 96
Re: here's the menu.lst file for grub

Quote:
Originally posted by starguymike04
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdd1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8smp)
root (hd1,0)
kernel /boot/vmlinuz-2.4.20-8smp ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-8smp.img
title DOS
rootnoverify (hd0,0)
chainloader +1


title FreeBSD 5.2.1r
rootnoverify (hd0,3)
chainloader +1
title Debian 3.0r2
root (hd0,2)
kernel /boot/vmlinuz-2.4.18-bf2.4 root=(hd0,)

All help appreciated
Well having never used grub before but using the instruction at the top of the file I would try.

Code:
title Debian 3.0r2
         root (hd0,2)
         kernel /boot/vmlinuz-2.4.18-bf2.4 ro root=/dev/hda3
For the Debian install of course running grub to update whatever it does. I am using the hda3 because I get the idea that you have a swap partition between the XP install and the Debian install if not then use hda2. If the Debian install has lilo installed into its / directory when you did it then I would use this.

Code:
title Debian
 rootnoverify (hd0,2)
 chainloader +1
To just chainload to the lilo in its root partition just like you are doing with the other OS's bootloaders.
 
Old 08-22-2004, 12:13 AM   #7
starguymike04
LQ Newbie
 
Registered: Aug 2004
Location: Alabama
Distribution: currently:redhat linux 9, soon maybe:debian3.0 r 2 , and freebsd5.2.1
Posts: 16

Original Poster
Rep: Reputation: 0
still no use

I have tried everything mentioned above in every confi mentioned above. according to the partioning tool w/debian ,hda1=xp,hda2=debian ext2, hda3=debian swap, hda4=freebsd , second hard drive =hdd1=redhat ext2, hdd2=red hat swap.
I have tried all of the below

title debian
root (hd0,2)
kernel /boot/vmlinuz-2.4.18-bf2.4 ro root=/dev/hda2

title debian
rootnoverify (hd0,2)
chainloader +1

and for the heck of it I went ahead and used hda3 just to see and all i get from grub is error codes invalid or unsupported executable format or can not mount partion filesystem unknown
 
Old 08-22-2004, 12:35 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,591

Rep: Reputation: 96
Re: still no use

Quote:
Originally posted by starguymike04
I have tried everything mentioned above in every confi mentioned above. according to the partioning tool w/debian ,hda1=xp,hda2=debian ext2, hda3=debian swap, hda4=freebsd , second hard drive =hdd1=redhat ext2, hdd2=red hat swap.
I have tried all of the below

title debian
root (hd0,2)
kernel /boot/vmlinuz-2.4.18-bf2.4 ro root=/dev/hda2

title debian
rootnoverify (hd0,2)
chainloader +1

and for the heck of it I went ahead and used hda3 just to see and all i get from grub is error codes invalid or unsupported executable format or can not mount partion filesystem unknown
In that case then should it not be (hd0,1) for hda2 grub is using 0 for the start point not 1 after all the XP is (hd0,0) for hda1. This is where posting the fdisk -l like the first person asked for would have avoided confusion.
 
Old 08-22-2004, 02:26 AM   #9
starguymike04
LQ Newbie
 
Registered: Aug 2004
Location: Alabama
Distribution: currently:redhat linux 9, soon maybe:debian3.0 r 2 , and freebsd5.2.1
Posts: 16

Original Poster
Rep: Reputation: 0
well that works alot better

i couldn't figure out how to copy the output from fdisk so i could put in on here, I can't believe I completly overlooked that, thanks very much for all of the help , now if I can just get a gui to work with debian everything will be alright
 
Old 08-22-2004, 08:21 AM   #10
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,591

Rep: Reputation: 96
Re: well that works alot better

Quote:
Originally posted by starguymike04
i couldn't figure out how to copy the output from fdisk so i could put in on here, I can't believe I completly overlooked that, thanks very much for all of the help , now if I can just get a gui to work with debian everything will be alright
Your welcome, an easy way to have a copy of the output to post would have been fdisk -l /dev/hda > fdisk.txt then copy the file fdisk.txt to a floppy and post it here. What are the problems with the video? A lot of times it is the fact that X in Woody is too old to support the newer video cards out there in this case using the "vesa" module as the driver for the video card is a temporary fix to get you going until you go to someplace like www.apt-get.org or www.backports.org and get the necessary line to put into your sources.list and upgrade to a newer X.
 
Old 08-22-2004, 08:42 AM   #11
psilo
Member
 
Registered: May 2004
Location: Holland
Distribution: Debian
Posts: 33

Rep: Reputation: 15
All the praise for Debian regarding Home use is probably praise for Sarge, not woody. So If you really want to enjoy Debian as home user upgrade to Sarge which is in pre-release state momentarily.

just my 2cts
 
Old 08-22-2004, 11:23 PM   #12
starguymike04
LQ Newbie
 
Registered: Aug 2004
Location: Alabama
Distribution: currently:redhat linux 9, soon maybe:debian3.0 r 2 , and freebsd5.2.1
Posts: 16

Original Poster
Rep: Reputation: 0
video problems

well, i get a no screens error i posted the file under my name in the debian section http://www.linuxquestions.org/questi...hreadid=219554 but none of the info has come to use because mainly i haven't been able to configure debian for the internet yet i use dial-up w/ a pci winmodem i have it working on red hat but debian is a little more confusing for me, i believe it is out of date though i have integrated video via an intel 82845gv extreme graphics, but because of the internet it causes an update issue i need it on cd , so do you think using vesa may solve the issue?? how would i go about upgrading to sarge without internet??
all input appreciated greatly

Last edited by starguymike04; 08-22-2004 at 11:30 PM.
 
Old 08-23-2004, 01:57 AM   #13
starguymike04
LQ Newbie
 
Registered: Aug 2004
Location: Alabama
Distribution: currently:redhat linux 9, soon maybe:debian3.0 r 2 , and freebsd5.2.1
Posts: 16

Original Poster
Rep: Reputation: 0
UPDATED situation

well i used the vesa drivers as suggested above and actually saw the gui for the first time, however it only lasted about 5 seconds i believe it shuts down when it starts to initialize the mouse and keyboard anyway here is the relevant part of the log file.....also read above about obtaining sarge upgrade, that sounds like a winner!!

virtual address = 0x40262000 - physical address = 0xe8000000 - size = 851968
(==) VESA(0): Default visual is TrueColor
(==) VESA(0): Backing store disabled
(**) Option "dpms"
(**) VESA(0): DPMS enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
PEXExtensionInit: Couldn't open default PEX font file Roman_M
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "PS/2"
(**) Configured Mouse: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(==) Configured Mouse: Buttons: 3
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)

Fatal server error:
Caught signal 4. Server aborting
 
Old 08-23-2004, 10:11 AM   #14
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,591

Rep: Reputation: 96
Re: video problems

Quote:
Originally posted by starguymike04
well, i get a no screens error i posted the file under my name in the debian section http://www.linuxquestions.org/questi...hreadid=219554 but none of the info has come to use because mainly i haven't been able to configure debian for the internet yet i use dial-up w/ a pci winmodem i have it working on red hat but debian is a little more confusing for me, i believe it is out of date though i have integrated video via an intel 82845gv extreme graphics, but because of the internet it causes an update issue i need it on cd , so do you think using vesa may solve the issue?? how would i go about upgrading to sarge without internet??
all input appreciated greatly
Do you have access to someone with a high speed connection that can download the files you need? If so you could just download the packages needed to upgrade the X server from a server found at www.apt-get.org or www.backports.org and burn them to a cd and use dpkg -i to install them. Or if you want to try to download them with the dialup connection you have then you could just mount the partition you put them on and install from there. Here is what I have installed you would not need the packages with the -dev on the end.

Code:
[HappyTux:/home/stephen]# COLUMNS=150 dpkg -l | grep 4.3.0
rc  libcupsys2                1.1.20final+cvs20040330-3 Common UNIX Printing System(tm) - libs
ii  libdps1                   4.3.0.dfsg.1-4            Display PostScript (DPS) client library
ii  libice-dev                4.3.0.dfsg.1-4            Inter-Client Exchange library development files
ii  libice6                   4.3.0.dfsg.1-4            Inter-Client Exchange library
ii  libsm-dev                 4.3.0.dfsg.1-4            X Window System SessionManagement library development files
ii  libsm6                    4.3.0.dfsg.1-4            X Window System SessionManagement library
ii  libx11-6                  4.3.0.dfsg.1-4            X Window System protocol client library
ii  libx11-dev                4.3.0.dfsg.1-4            X Window System protocol client library development files
ii  libxaw7                   4.3.0.dfsg.1-4            X Athena widget set library
ii  libxext-dev               4.3.0.dfsg.1-4            X Window System miscellaneous extension library development files
ii  libxext6                  4.3.0.dfsg.1-4            X Window System miscellaneous extension library
ii  libxft1                   4.3.0.dfsg.1-4            FreeType-based font drawing library for X (version 1)
ii  libxi-dev                 4.3.0.dfsg.1-4            X Window System Input extension library development files
ii  libxi6                    4.3.0.dfsg.1-4            X Window System Input extension library
ii  libxmu-dev                4.3.0.dfsg.1-4            X Window System miscellaneous utility library development files
ii  libxmu6                   4.3.0.dfsg.1-4            X Window System miscellaneous utility library
ii  libxmuu-dev               4.3.0.dfsg.1-4            lightweight X Window System miscellaneous utility library developm
ii  libxmuu1                  4.3.0.dfsg.1-4            lightweight X Window System miscellaneous utility library
ii  libxp-dev                 4.3.0.dfsg.1-4            X Window System printing extension library development files
ii  libxp6                    4.3.0.dfsg.1-4            X Window System printing extension library
ii  libxpm-dev                4.3.0.dfsg.1-4            X pixmap library development files
ii  libxpm4                   4.3.0.dfsg.1-4            X pixmap library
ii  libxrandr-dev             4.3.0.dfsg.1-4            X Window System Resize,Rotate and Reflection extension library de
ii  libxrandr2                4.3.0.dfsg.1-4            X Window System Resize,Rotate and Reflection extension library
ii  libxt-dev                 4.3.0.dfsg.1-4            X Toolkit Intrinsics development files
ii  libxt6                    4.3.0.dfsg.1-4            X Toolkit Intrinsics
ii  libxtrap-dev              4.3.0.dfsg.1-4            X Window System protocol-trapping extension library development fi
ii  libxtrap6                 4.3.0.dfsg.1-4            X Window System protocol-trapping extension library
ii  libxtst-dev               4.3.0.dfsg.1-4            X Window System event recording and testing extension library deve
ii  libxtst6                  4.3.0.dfsg.1-4            X Window System event recording and testing extension library
ii  libxv-dev                 4.3.0.dfsg.1-4            X Window System video extension library development files
ii  libxv1                    4.3.0.dfsg.1-4            X Window System video extension library
ii  pm-dev                    4.3.0.dfsg.1-4            proxy management protocol development files
ii  x-dev                     4.3.0.dfsg.1-4            X protocol development files
ii  xbase-clients             4.3.0.dfsg.1-4            miscellaneous X clients
ii  xfonts-100dpi             4.3.0.dfsg.1-4            100 dpi fonts for X
ii  xfonts-100dpi-transcoded  4.3.0.dfsg.1-4            100 dpi fonts for X (transcoded from ISO 10646-1)
ii  xfonts-75dpi              4.3.0.dfsg.1-4            75 dpi fonts for X
ii  xfonts-75dpi-transcoded   4.3.0.dfsg.1-4            75 dpi fonts for X (transcoded from ISO 10646-1)
ii  xfonts-base               4.3.0.dfsg.1-4            standard fonts for X
ii  xfonts-base-transcoded    4.3.0.dfsg.1-4            standard fonts for X (transcoded from ISO 10646-1)
ii  xfonts-scalable           4.3.0.dfsg.1-4            scalable fonts for X
ii  xfree86-common            4.3.0.dfsg.1-4            X Window System (XFree86) infrastructure
ii  xfs                       4.3.0.dfsg.1-4            X font server
ii  xlibmesa-gl               4.3.0.dfsg.1-4            Mesa 3D graphics library [XFree86]
ii  xlibmesa-gl-dev           4.3.0.dfsg.1-4            Mesa 3D graphics library development files [XFree86]
ii  xlibmesa-glu              4.3.0.dfsg.1-4            Mesa OpenGL utility library [XFree86]
ii  xlibmesa-glu-dev          4.3.0.dfsg.1-4            Mesa OpenGL utility library development files [XFree86]
ii  xlibs                     4.3.0.dfsg.1-4            X Window System client libraries metapackage and XKB data
ii  xlibs-data                4.3.0.dfsg.1-4            X Window System client data
ii  xlibs-dev                 4.3.0.dfsg.1-4            X Window System client library development files pseudopackage
ii  xlibs-pic                 4.3.0.dfsg.1-4            XFree86 static PIC libraries pseudopackage
ii  xlibs-static-dev          4.3.0.dfsg.1-4            X Window System client library development files
ii  xlibs-static-pic          4.3.0.dfsg.1-4            X Window System client extension library PIC archives
ii  xserver-common            4.3.0.dfsg.1-4            files and utilities common to all X servers
ii  xserver-xfree86           4.3.0.dfsg.1-4            the XFree86 X server
ii  xutils                    4.3.0.dfsg.1-4            X Window System utilityprograms
An alternative as you say below is an update to Sarge it will have the 4.3 X server in its packages. The X server still seems to be failing even with the vesa driver the mouse looks like it gets detected properly so upgrading the X server one way or the other is the way to go.
 
Old 08-23-2004, 06:20 PM   #15
starguymike04
LQ Newbie
 
Registered: Aug 2004
Location: Alabama
Distribution: currently:redhat linux 9, soon maybe:debian3.0 r 2 , and freebsd5.2.1
Posts: 16

Original Poster
Rep: Reputation: 0
changing to sarge

Is it possible to download sarge the way you said I could the xserver
and just burn it cd, if so how complicated would it be to install??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Clueless and frustrated... RPM has made previous installation disappear rollo Linux - Newbie 7 10-27-2004 04:01 PM
Deleting a previous kernel in GRUB? borrrden Linux - General 1 08-13-2004 11:24 AM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM
SDL -1.2.5-1 and previous versions. (installation & removal) Mr Guk Linux - Software 1 11-07-2002 01:29 AM

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

All times are GMT -5. The time now is 01:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration