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

Notices


Reply
  Search this Thread
Old 12-28-2005, 10:07 AM   #1
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Rep: Reputation: 15
Problem on boot


I'm having a problem when booting. I've been up and running for a couple of months then this problem appeared when booting up. Here's what I'm seeing on boot.

Loading, please wait...
FATAL: module unknown not found.
mount: Mounting /dev/hdb1 on /root failed: No such device
mount: Mounting /root/dev on /dev/ .static/dev failed: No such file or directory
mount: Mounting /dev on /root/dev failed: No such file or directory
Target filesysetm doesn't have /sbin/init

BusyBox v1.00-pre10 (Debain 20040623-1ubuntu22) Built-in shell (ash)
Enter 'help' for a list of built-in commands

/bin/sh: can't access tty; job control tuned off

Any suggestions
 
Old 12-28-2005, 11:19 AM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
surely "/root" should be "/"? use a live cd and make sure your /etc/fstab is right.
 
Old 12-28-2005, 12:48 PM   #3
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Original Poster
Rep: Reputation: 15
sudo gedit /etc/fstab I get the fstab off the cd. Checked the file sys etc/fstab the same. When into the system>administration>disks and can see the hd and partitions.
 
Old 12-28-2005, 01:31 PM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
weird. Check your disks are right, ie. /dev/hda = pri master, /dev/hdb = pri slave and so on. What happened leading up to this event?
 
Old 12-29-2005, 10:21 AM   #5
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Original Poster
Rep: Reputation: 15
Everything has been running great and I've done nothing unusual...

I loaded the live cd and went into Gparted and looked at the partitions and here's what I have.

/dev/hdb1
/dev/hdb2 (and the following under this partition)
/dev/hdb6 swap
/dev/hab7 ext3
/dev/hdb5 ntfs - this is the other partition on the secondary.

Went and checked the partitions. The only one that is questionable is /dev/hdb1 and I'm getting the followin info.

/dev/hdb1
-unknown
-warning unable to detect the file system
-damaged
-unknown to libparted
-unformatted

FYI-the secondary is split into 2 (20/20 gb per partition) one for Linux and the other as extra storage for Windows.

Any help would be great.
 
Old 12-29-2005, 10:32 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Give up the whole picture by showing the content of

(1) fdisk -l

(2) /boot/grub/menu.lst if you are booting it with Grub or /etc/lilo.conf if you are booting it with Lilo

(3) Your /etc/fstab

Since you Linux doesn't boot the above information has to be obtained by booting a Live CD.

Last edited by saikee; 12-29-2005 at 10:49 AM.
 
Old 12-29-2005, 10:41 AM   #7
simoneroper
LQ Newbie
 
Registered: Nov 2005
Location: Jersey
Distribution: SuSe, Mandriva
Posts: 22

Rep: Reputation: 15
Hi. I am new to linux, but I have to say that sounds like a hard-drive problem, ie, not being seen. (as opposed you your software). I would think that it worth just going into your BIOS on your next boot, just to see whether BIOS sees your hard drive before going any further. No real effort and a quick answer to exclude it. But as I say, I am no linux expert.
Hope it helps, and good luck.
 
Old 12-29-2005, 11:18 AM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
My requested Item (1)

fdisk -l

will show up all the disks and partitions as they are "found" and "known" by the Linux. This is more relevant than what the BIOS call them. If the BIOS couldn't find any of them then the Linux will not have it in "fdisk -l".
 
Old 12-29-2005, 12:25 PM   #9
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Original Poster
Rep: Reputation: 15
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4865 39078081 7 HPFS/NTFS

Disk /dev/hdb: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 2278 18298003+ 83 Linux
/dev/hdb2 2279 4965 21583327+ f W95 Ext'd (LBA)
/dev/hdb5 2486 4965 19920568+ 7 HPFS/NTFS
/dev/hdb6 2279 2379 811219+ 82 Linux swap / Solaris
/dev/hdb7 2380 2485 851413+ 83 Linux


/dev/mapper/casper-snapshot / auto noatime 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/hdb6 swap swap defaults 0 0

but that's off the disk. How can I get it of my hd if I can't login?

blank on the /boot/grub/menu.lst

Thanks
 
Old 12-29-2005, 12:55 PM   #10
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Try "fsck -y /dev/hdb1" from the livecd, your root partition may have errors. Does windows still boot?
Please also post your /etc/lilo.conf file, to do this (if fsck finnishes clean) issue the following from the livecd:
Code:
mount /dev/hdb1 /mnt
less /mnt/etc/lilo.conf
or
Code:
less /mnt/boot/grub/menu.lst
If "mc" works you can use that to browse the filesystem in a terminal.
 
Old 12-29-2005, 01:11 PM   #11
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Original Poster
Rep: Reputation: 15
ubuntu@ubuntu:~$ sudo fsck -yfsck -y /dev/hdb1
fsck 1.38 (30-Jun-2005)
e2fsck 1.38 (30-Jun-2005)
Couldn't find ext2 superblock, trying backup blocks...
Resize_inode not enabled, but the resize inode is non-zero. Clear? yes

Backing up journal inode block information.

Checking for bad blocks (read-only test): 127928/ 4574500

Windows boots fine.

mount /dev/hdb1 /mnt
less /mnt/etc/lilo.conf

response-no such file or directory

sudo gedit /etc/lilo.conf

blank config file

Thanks for the help...

Last edited by jbraum; 12-29-2005 at 01:14 PM.
 
Old 12-29-2005, 02:07 PM   #12
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Can you see anything at all after mounting /dev/hdb1?
try "ls -al /mnt" and "ls -al /mnt/etc" (if it exists).
Things aren't looking good at the moment if you don't see any files. If you do see a directory called "lost & found" or similar look in there, all your files may be there - and that's bad too :~(

edit: your filesystem was definitely corrupted somehow, probably a power outage?

Last edited by Tuttle; 12-29-2005 at 02:09 PM.
 
Old 12-29-2005, 03:51 PM   #13
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
If the hdb1 can be mounted then it isn't too bad but I don't like the part that it has neither Grub or Lilo.

You can break into hdb1 and try to do a deeper investigation. Just load the Live CD and type
Code:
mkdir /mnt/hdb1
mount /dev/hdb1 /mnt/hdb1
chroot /mnt/hdb1
If the above works out you will be inside the Linux in hdb1. You can check if see if either Grub or Lilo presence by
Code:
Grub
lilo -V
If Grub is present then replicating Grub into the MBR can be done by
Code:
grub-install /dev/hda
If Lilo is presence then replicating Lilo in MBR can be achieved by
Code:
lilo -b /dev/hda
Lilo will not work if there is no /etc/lilo.conf but Grub may give you a Grub prompt which is good enough to boot manually all the systems in the PC.

Before logging off write down the files in the /boot directory or paste it here just in case we have to tell you how to boot it manually.

Let us knwo how it turn out
 
Old 12-29-2005, 06:37 PM   #14
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Original Poster
Rep: Reputation: 15
hdb1 mounted but nothing is in it. Not good???
 
Old 12-29-2005, 06:57 PM   #15
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
If there is nothing in it then you must have erased it yourself because 20Gb of information doesn't disappear just like that!

Do you know what is in hdb7. It is too small to hold a Linux, unless it is a Damn Small Linux or Puppy.
 
  


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
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 01:47 AM
Boot problem w/FC2 - DISK BOOT FAILURE maugou Fedora 2 06-30-2004 06:37 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
Problem with Mandrake 9 boot /Debian boot on 1 PC cmisip Linux - Distributions 4 11-04-2002 05:50 PM

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

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