LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2009, 09:16 AM   #1
sineri
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Rep: Reputation: 0
Trying to install debian 5.01


Hello everyone, this is my first post, and my first question on this forum as well.

Anyway .. I have been unable to install debian 5.01 x64.

Short version:

For every installation attempt, "/boot" is empty and has no files within.
No kernel image to load from.
How do I re-install kernel images from rescue mode ?



Full version:
I tried a total of 5 installations

1st installation:
"/boot" has everything except "menu.lst"
grub not installed into MBR.

so I used rescue mode to install grub into MBR.
gets into grub command due to missing "menu.lst"
I was lazy to find "menu.lst" and copy over, so I reinstalled everything.


2nd ~ 5th installtion:
"/boot" is totally empty, no vmlinuz img files, no menu.lst, no grub folder
(and I was beginning to doubt the grub was only installed because I did it from rescue mode.)


PS. for all installations, I did re-format the partition every time.
I tried to re-burn the DVD img. DVD img hash was correct.
The partition was one primary of 250MB with ext2 for "/boot"
and the "/" in 30GB logical in XFS format

there's also a weird thing I don't quite get, (might be due to motherboard)
when in rescue mode, the hard drive I'm installing into is (hd3)
but when just booted up, in grub's command interface, it's actually (hd0)
(it's supposed to be hd3, not sure why right after boot, grub had it as hd0)
 
Old 06-03-2009, 01:39 PM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
You stated that you are installing on hd3 so you have 4 drives.
Or do mean that you're installing on (hd0,3)
Where did you install GRUB during install ?
And if you have 4 drives what kind SATA OR PATA ,
Or SATA emulating PATA
 
Old 06-03-2009, 01:48 PM   #3
sineri
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Original Poster
Rep: Reputation: 0
yes .. I have 4 drives
and I meant (hd3)

grub is installed in rescue mode with something like grub-install /dev/sdc

and for that hard drive
(hd3,0) is for windows vista, and somehow windows created a "extended" partition as (hd3,1)
so, my "/boot" is a ext2 on (hd3,2) and main system root "/" on /dev/sdc7 (which is (hd3,6))

I don't quite remember how many had drives / type on I have on them
but it's either 3 SATA .... or 3 SATA + 1 PATA

and the drive I install to is a SATA on physical SATA channel 3 I think (or similar)

the install seemed to install things in "/" (hd3,6) correctly (at least the folders are there)
just that somehow "/boot"(hd3,2) never got its stuff

and like I said , a bit weird that ....
in grub, it catches the (hd3) as (hd0)
because I could boot into Vista with chainloading (hd0,0) directly in grub
which is supposedly (hd3,0)

Last edited by sineri; 06-03-2009 at 01:50 PM.
 
Old 06-03-2009, 02:41 PM   #4
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
What is weird my system has 3 HD sata drive and one IDE HD
But my controller is emulating IDE
IT means that (hd0,0) can be on every of my 4 drives
It only depends on which drives is selected in the BIOS as boot HD during install .
So if do not look carefully what my boot order is I can install on SDB and having GRUB on SDB and a menu.lst revering to SDA
So if the same situation applies to you what was the boot order during install and where did you install GRUB ON a partition on MBR ?
Edit the menu.lst and look what is says
 
Old 06-03-2009, 07:59 PM   #5
sineri
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Like I said ,
for all of my installation
menu.lst was not preset. not even grub's stage two files.
I had to manually configure it to make it work. (or manually copy over grub's files)
plus the vmlinuz and kernel images are all missing. (this I cannot just copy over, because I do not have the debian 5.01's kernel images)

anyway .... the grub, although installed on /dev/sdc is actually pointing (hd0,2) ....
it is actually pointing to the correct spot. and I do not need to worry about that


what I need is getting the "/boot" directory files installed (most importantly the missing vmlinuz kernel images)
 
Old 06-03-2009, 11:17 PM   #6
sineri
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Original Poster
Rep: Reputation: 0
I'm thinking it could be due to bad "Cd/DVD" drive ...
Because when I tried ubuntu ... it spits I/O error ...
but there was absolutely no warnings in debian
 
Old 06-04-2009, 01:10 AM   #7
kadeck
LQ Newbie
 
Registered: May 2009
Posts: 8

Rep: Reputation: 0
I had the similar experience with grub. Location of grub installed is always recognized as hd0, (although it was hdx, during installation) which is pretty troublesome.

You might try http://ftp.debian.org/debian/pool/ma.../linux-image-2 to get the kernel images and http://ftp.debian.org/debian/pool/ma.../linux-modules for the kernel modules
 
  


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
Debian Etch install from dvd, not authenticated by Debian jiobo Linux - Security 3 01-11-2009 08:55 PM
NIC recognized in debian net install but not after install Cycle Debian 7 12-23-2005 08:52 PM


All times are GMT -5. The time now is 04:23 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