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 03-09-2008, 10:45 AM   #1
Badger
LQ Newbie
 
Registered: Jun 2004
Location: Ky USA
Distribution: Fedora 2
Posts: 6

Rep: Reputation: 0
It takes 1-9 boots to run Debian


I cannot get my Debian 4 to boot properly. It is random. sometimes it works great and others it takes several resets to get it running. I like to nevewr got itinstalled with a trail of 7 CDs now coasters but I managed to make a grub entry that seems to work. Here's my config;

# 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 (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sdd1
# initrd /boot/initrd-version.img
#boot=/dev/sdd
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-42.fc8)
root (hd0,0)
kernel /boot/vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.23.1-42.fc8.img
title Debian (2.6.18-6-686)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-6-686 root=/dev/sdd2
initrd /boot/initrd.img-2.6.18-6-686

My boot failures,
1.Waiting for root file system ... ...
2.sd 8 :0 :0 :0 : Attached scsi removable disk sde
3.sd 1 :0 :0 :0 : Attached scsi removable disk sde
4.hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048 cache, UDMA (33)
5.another # 2 hang
6.usb 7-2.2: configuration !1 chosen from 1 choice
hdg: cache flushes supported
7.hdg: hdg1 hdg2 hdg3 <hdg5> hdg4
8. another # 1 hang
9.another #2 hang but when I hit return it took off. I have hit return before and just get a couple of lines.

I have a second 80gb drive my distros go on. My Windows lives on a RAID 5 config with 3 Raptors. I could not get Debian to write the grub file to my SDD drive. I tried floppy but it's not there. It wasted my Windows and so finally I modified the grub file Fedora made and got it booting up sort of.

Any help is greatly appreciated,
Badger
 
Old 03-09-2008, 10:55 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Debian has issues with booting from SATA disks. It's quite random, but it can give you a disproportional error-rate... Personally, I use a IDE disk (some 40 GB orso) for the system to reside on and use SATA disks only for /home and other data.
 
Old 03-09-2008, 11:13 AM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Lenny handles SATA drives fine ... Probably would be a worthwhile upgrade.
 
Old 03-10-2008, 05:12 PM   #4
Badger
LQ Newbie
 
Registered: Jun 2004
Location: Ky USA
Distribution: Fedora 2
Posts: 6

Original Poster
Rep: Reputation: 0
I have failed but learned something in the struggle! I got Lenny and cannot get it to boot. It errors out on the kernel line saying bad file. I made 3 more coasters as I tried kernel-2.6.686, 2.6.22-3-686, 2.6.22-3-amd64 all to no avail. (I could be off a number. My memory is weak.)
As I inserted the CD while Windows was running I realized there ws a setup file. I clicked it out of curiosity and a few windows down it told me I should run the amd64 for my 64-bit processor. I am running the amd64 Etch 4.0r3 on my Intel Extreme Edition 840 processor and once I get booted I have never had anything faster!
 
Old 03-13-2008, 01:20 PM   #5
Badger
LQ Newbie
 
Registered: Jun 2004
Location: Ky USA
Distribution: Fedora 2
Posts: 6

Original Poster
Rep: Reputation: 0
It seems if I hit return as soon as it hangs it will proceed on and boot. If I wait a few seconds then its a reset or bust :|
 
Old 03-13-2008, 07:26 PM   #6
richinsc
Member
 
Registered: Mar 2007
Location: Utah
Distribution: Ubuntu Linux (20.04)
Posts: 224

Rep: Reputation: 32
This may be a stupid question but how are you upgrading to lenny. When you say you downloaded lenny are talking about the iso images or are you say that you just downloaded the latest kernel? You could just change your /etc/apt/sources.list and change etch to lenny. After changing sources.list you could then issue an aptitude update followed by aptitude dist-upgrade and then go get a cup of coffee or a can of soda. Otherwise if you are booting form cd burned from ISO are you not able to boot cd? I had to read your post several times and it must have been a long day at work for me so I might be missing something in your post.

Edit: the part where you said you made cd's of kernel-2.6.686 is what threw me.

Last edited by richinsc; 03-13-2008 at 07:28 PM. Reason: Re-Read
 
Old 03-16-2008, 03:55 AM   #7
lycan
Member
 
Registered: Jul 2007
Location: Kolkata, INDIA
Distribution: Debian Lenny
Posts: 51

Rep: Reputation: 15
Download lenny iso from the following location and do a fresh install. I think you messed up your system with the packages of lenny and etch.

http://cdimage.debian.org/cdimage/da.../amd64/iso-cd/
 
Old 03-18-2008, 05:56 PM   #8
Badger
LQ Newbie
 
Registered: Jun 2004
Location: Ky USA
Distribution: Fedora 2
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the help. I wiped the partitions each time before trying to install. When I installed it prompted me for kernel 2.6-686, it fail;ed to boot so I tried kernel 2.6-33-2-686 and failed so I tried a amd version and it also failed to boot sayint right after the linuz-2.6-xxxx bad file name.

I got Lenny from http://cdimage.debian.org/cdimage/da.../amd64/iso-cd/ and tried to install on a 4gb Flash but it didn't go. I may try it on anoter box as mine is just running so good after it finally boots up.
 
  


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
Debian boots to L 99 99 99 99 mevasquez Debian 2 05-11-2007 06:35 PM
How do I get a script file to run automatically when linux boots? kccrusher Linux - Software 4 11-13-2006 09:55 PM
finding the time it takes for a program to run Valkyrie_of_valhalla Linux - Software 1 07-28-2006 05:19 AM
Slackware 10.2 boots to run level 1 norobro Slackware 4 02-09-2006 08:59 PM
How to setup shells to run when the server boots/shuts down Colmenares Red Hat 2 08-19-2004 04:04 PM

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

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