Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ubuntu 5.04 failing to install

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
EchoBeach



Joined: Wed Jun 29, 2005 12:02 am
Posts: 33

PostPosted: Wed Jun 29, 2005 12:33 am    Post subject: Ubuntu 5.04 failing to install Reply with quote

I have created an image for installing Ubuntu 5.04 from the LXF68 DVD.
This boots me into the Linux Ubuntu install (on a P4 3GHz that normally runs Win MCE 2005).
I have a USB 2.0 attached 20Gb HDD (in an external caddy).
The process gets as far as creating the Lnux partition on the USB drive, but fails while attempting to install the base 'system'.
At the time of failure, it tells me to look for /var/lib/messages, but when I boot up with the Live CD, I can see the '/var/lib' folder but no 'messages'.
This is my first attempt to install Linux, although I have used Knoppix 3.n Live CDs Very Happy and more recently the Ubuntu 5.04 Live CD.
I am definitely a newbie, and would appreciate any assistance available.
If there might be a problem with the CD, how do I go about checking the files? I've heard (and read) a lot about md5sum, but I have not understood it or how to run the checks.
Is there anything else I should be checking?
Regards
Echo
Back to top
View user's profile Send private message
toby_tyke



Joined: Tue Jun 28, 2005 2:34 pm
Posts: 2

PostPosted: Wed Jun 29, 2005 2:52 am    Post subject: RE: Ubuntu 5.04 failing to install Reply with quote

Hi

Not too sure why it's falling over at the base system install stage. Does it give you a specific error message?

Installing Ubuntu to a USB drive IS possible, and this thread:

http://www.ubuntuforums.org/showthread.php?t=5151

on the official Ubuntu site has some very good instructions on how to do it (5th comment down).

Having looked at those instructions, I have to say it looks like a world of pain. Have you considered freeing up some space on your internal HDD? If that's out of the question, you might want to try Puppy linux, included on the same DVD. Puppy is designed to run from a USB drive.

Hope that helps.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8455
Location: Warrington, UK

PostPosted: Wed Jun 29, 2005 9:17 am    Post subject: RE: Ubuntu 5.04 failing to install Reply with quote

/var will be mounted as a ramdisk, so rebooting will clear it. Also, it is normally /var/log/messages.

With most Linux installers, you can get to a command prompt by pressing Ctrl-Alt-F1/2/3/4/5, try them in sequence until you get a prompt. Then type "cat /var/log/messages".
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
EchoBeach



Joined: Wed Jun 29, 2005 12:02 am
Posts: 33

PostPosted: Wed Jun 29, 2005 9:32 pm    Post subject: Reply with quote

Thanks toby_tyke, Nelz
I've had another go with pen and paper to hand.
The installation reaches the 'Install base system' step.
It does the checking, receiving/validating OK.
Installing base-system ...
Message:
Code:
Base System Installation error
The debootstrap program exited with an error (return value 1)
Check /var/log/messages or see virtual console 3 for the details.
      <go back>         <continue>

Based on Nelz's comment, I tried Ctrl+Alt+F3 and saw the following:
Code:
...
insmod /lib/modules/2.6.10-5-386/kernel/fs/isofs.ko
insmod /lib/modules/2.6.10-5-386/kernel/drivers/ieee1394/sbp2.ko
insmod /lib/modules/2.6.10-5-386/kernel/drivers/scsi/sc_mod.ko
File descriptor 3 left open
File descriptor 4 left open
File descriptor 5 left open
File descriptor 6 left open
   /dev/sdc: open failed: no module found
   /dev/sdd: open failed: no module found
   /dev/sde: open failed: no module found
   /dev/sdf: open failed: no module found
No matching physical volumes found
File descriptor 3 left open
File descriptor 4 left open
File descriptor 5 left open
File descriptor 6 left open
   /dev/sdc: open failed: no module found
   /dev/sdd: open failed: no module found
   /dev/sde: open failed: no module found
   /dev/sdf: open failed: no module found
No volume groups found
   Reading all physical volumes.  This may take a while ...
mke2fs 1.35 (28-Feb-2004)
tar: ./usr/sbin/update-passwd: Read-only file system

My USB drive had been identified as sdb; so that would explain the other 'sdx' entries - I assume the installer is just checking for other drives.
I then returned to the installer screen and ran the last-but-one step to open a shell.
I could see the file in total including the following two lines at the top:
Code:
insmod /lib/modules/2.6.10-5-386/kernel/drivers/block/floppy.ko
FATAL: Error inserting floppy (/lib/modules/2.6.10-5-386/kernel/drivers/block/floppy.ko): No such device

This is correct because my PC doesn't have a floppy drive.
Is the problem that the installer thinks the disk is read-only?
What do I need to do, to make it read-write?
Echo
Back to top
View user's profile Send private message
EchoBeach



Joined: Wed Jun 29, 2005 12:02 am
Posts: 33

PostPosted: Wed Jul 27, 2005 6:27 am    Post subject: Faulty HDD Reply with quote

I tried another distro and saw lots of IO errors. I concluded that the disk itself had problems and so switched to another drive. All OK.
Does Linux have the ability to format a disk so that it can avoid bad sectors/blocks?
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8455
Location: Warrington, UK

PostPosted: Wed Jul 27, 2005 8:56 am    Post subject: RE: Faulty HDD Reply with quote

mke2fs with the -c option. You can do it with reiserfs but it's a two stage process; sdend the output of badblocks to a file then pass that file to mkreiserfs.

See the man pages for plenty more information.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast