LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-09-2006, 12:33 PM   #16
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,060

Rep: Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916

You didn't post the header info, but I assume that all the disk is allocated. To resize hda1 larger, you will need to delete all the other partitions first.
Probably a good idea anyway - just "start again", regardless of the version you plan on using.
Personally I don't like the automatic partitioning on install - I prefer to handle it manually, and (pre-)allocate the sizes I want for the Linux partitions. For a new user it might be acceptable.

As mentioned, hda3 is an extended partition - it is simply a container for logical partitions. It is a DOS (not Linux) invention to allow for more than 4 partitions - a limitation in the original (DOS) partition table structure.
 
Old 12-09-2006, 12:52 PM   #17
curleyg
Member
 
Registered: Mar 2005
Posts: 37

Original Poster
Rep: Reputation: 15
If it's not one thing it's another. My download of 6.0.6.1 failed. It said there wasn't enough room to save it. Remember I'm operating on a live cd. It tried to save it to the desktop and gave me no other options. Any suggestions?
 
Old 12-09-2006, 01:09 PM   #18
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,060

Rep: Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916
LiveCDs run "in-memory" - sounds like you don't have enough. Bad idea anyway - you'd lose the download on reboot. I had been wondering where you were downloading to - hda2 would be best if you can get to it.
 
Old 12-09-2006, 02:35 PM   #19
curleyg
Member
 
Registered: Mar 2005
Posts: 37

Original Poster
Rep: Reputation: 15
OK, I have the file downloading again. This time on my wifes M$ machine and will burn the cd with Nero. We'll see from there.
Thanks again.
 
Old 12-10-2006, 09:16 AM   #20
curleyg
Member
 
Registered: Mar 2005
Posts: 37

Original Poster
Rep: Reputation: 15
Good Morning Everyone,
These are the latest developments. I downloaded Ubuntu 6.0.6.1. The live cd worked fine but installation froze on the pick a disk screen. Perhaps 6.1 partitioned in a manner that 6.0 couldn't recognize. Anyway, I went back to 6.1, just for grins, and this time it went past were it hung up (copying files) the first time, and said the installation was successful.
I rebooted to the hard drive and lo and behold there in black and white was the grub. I booted to M$ to see if that partition had survived the melee sure enough it had. Everything worked so I quit for the night. Proud of my success.
This morning it was time to see how well Ubuntu worked from the hard drive rather than the live cd. I got the standard splash screen with the progress bar that NEVER moved. After about four minutes I got this screen.

BusyBox v1.1.3 ...........
Type help for a list of commands.

/bin/sh: Can't access tty Job control turned off.
(initramfs)_

Apparently something didn't go as planned during installation. I did type help, and sure enough there was a list of commands.
Any suggestions on what I should do from here.
Thanks, you've all been great. and patient.
George
 
Old 12-10-2006, 09:37 AM   #21
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,118

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
Would you please post the results of the command 'du' ( disk usage ). Since we are not use if about the partitioning, I'm wondering if you are out of disk space on /. We have made some progress, if you now can boot to windoze, and grub is installed.
 
Old 12-10-2006, 09:57 AM   #22
curleyg
Member
 
Registered: Mar 2005
Posts: 37

Original Poster
Rep: Reputation: 15
Results of du

(initramfs) du

/bin/sh: du: not found.


When I type help I don't see du listed as one of the built in commands. Did I do the command wrong? Should it have been du /
Thanks
George
 
Old 12-10-2006, 10:38 AM   #23
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
George,
Something has gone seriously wrong with your 6.1 install.
Good (sort of!) to see you have access to windows now.
I'd suggest you reboot to the live edition, and then open a terminal so we can find out what has happened....

First command to try is sudo fdisk -l so we can see which partitions have what on them.
Then we'll try mounting your linux partition(s) and have a look at what is on them them, but let's take this one step at a time please.
 
Old 12-10-2006, 12:12 PM   #24
curleyg
Member
 
Registered: Mar 2005
Posts: 37

Original Poster
Rep: Reputation: 15
Absolutely one step at a time. I'd not have it anyother way.
Results of sudo fdisk -l

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 6326 50813563+ 7 HPFS/NTFS
/dev/hda2 6327 9586 26185950 83 Linux
/dev/hda3 9587 9729 1148647+ 5 Extended
/dev/hda5 9587 9729 1148616 82 Linux swap / Solaris

Shouldn't hda2 be bootable also.
Thanks for your help.
George
 
Old 12-10-2006, 12:35 PM   #25
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Thanks for the listing.
Quote:
Shouldn't hda2 be bootable also.
No. "Bootable" refers to where the MBR is, and it's on your first partition, which is fine.
Grub is now on your MBR, and it knows how to load both linux and win (as you discovered)
But loading linux fails.
So what is on your linux partition?
Find out like this:
Open a terminal and enter the following (don't type red stuff!):
Code:
sudo -i Now you are root
mkdir /badlinux make a directory called /badlinux
mount -t ext3 /dev/hda2 /badlinux this mounts your bad linux root dir
df -h this will show us how much space is in use
cd /badlinux change to the bad directory
ls and see what files are there
Give it a go & post us the output.

Edit My bad syntax again, I said du -h instead of df -h - the former gives way too much output - sorry. Post edited to correct this

Last edited by tredegar; 12-10-2006 at 12:57 PM.
 
Old 12-10-2006, 01:01 PM   #26
curleyg
Member
 
Registered: Mar 2005
Posts: 37

Original Poster
Rep: Reputation: 15
Ok I'll do it. Keep in mind "newbie".

ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~# mkdir /badlinux
root@ubuntu:~# mount -t ext3 /dev/hda2 /badlinux
mount: special device /dev/hda2 does not exist

I'm assuming I needed to stop there since the mount failed.
George
 
Old 12-10-2006, 01:10 PM   #27
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
mount: special device /dev/hda2 does not exist
This is very wrong as the fdisk -l command earlier showed that it should exist.
You were right to stop there, but you are doing well for a newbie, don't loose heart!
Conclusion: Your linux partition is hosed. No big deal as it didn't work anyway.

I think we should go for a re-install of ubuntu.
I really would prefer it if you chose 6.06 over 6.10.
6.06 is remarkably stable and easy, 6.10 appears to have some "issues". I tried it & went back to 6.06.

We have managed to establish that your windows partition is /dev/hda1 and it is OK.
/dev/hda2 is your linux partition, but it is broken.
/dev/hda5 is your swap partition, which is fine.

I'd suggest you exit from this live CD (if it is 6.10) and reboot with 6.06
And I hope you got your 6.06 disk from somewhere reputable like this:
http://www.kubuntu.org/download.php
and not from some dubious file-sharing network thingy! (which may be (maliciously?) corrupted).
Edit: the file you need is kubuntu-6.06.1-desktop-i386.iso if you have a 386/486/pentium PC
If you go to the address above, they'll also give you the MD5sums for the ISO files, so you can check they have downloaded OK. There's an MD5sum calculator for windows too - google for it.
md5sum filename.iso will calculate the md5sum and let you compare it to what it should be. Burn your disk at 4x so you do not get errors.

OK, so you are rebooting from a checked, burnt to CD iso.
Click the "Install" icon.
When it comes to partitioning:
Choose "Manual partitioning"
Set / to be /dev/hda2 and to be formatted (as ext3 if you get the choice)
Set swapto be /dev/hda5 (I think it is already formatted, but you can do it again, no harm here)
Make all the other boxes blank.
Make sure you are not formatting /dev/hda1 which is windows.
Tell it to install.

You should be set to go.
If not, well, you know where to come for help.

Last edited by tredegar; 12-10-2006 at 01:15 PM.
 
Old 12-10-2006, 01:29 PM   #28
curleyg
Member
 
Registered: Mar 2005
Posts: 37

Original Poster
Rep: Reputation: 15
I downloaded 6.0.6.1 from lqiso. I think that's a reputable place. The broke hda2 may be why 6.0 froze on the "select which disk" screen. The partitioner never started. I will check md5sum and re-burn the cd. I do have one other problem installing 6.0. With 6.1 my max resolution is 800 x 600 and the "Abort/Back/Next buttons on the installation screen are barely visible. With 6.0 max resolution is 640 x 480 and the buttons are not visible at all. Got as far as I did last time by just hitting enter knowing that would mean go.
What do you think?
 
Old 12-10-2006, 01:32 PM   #29
curleyg
Member
 
Registered: Mar 2005
Posts: 37

Original Poster
Rep: Reputation: 15
One more question. If I try another install, is that going to mess with the MBR again?
Thanks
 
Old 12-10-2006, 02:51 PM   #30
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
lqiso will be fine for reputable downloads.
Stick with 6.06(.1) it is more stable than 6.10

You have had resolution problems with your display - this is unusual, but may not happen next time (don't know why). Display can easily be fixed once you have a functioning (if not-yet-quite-perfect) installation. Meanwhile do your best eg hitting Enter to mean Go!

At the end of the install, the MBR will be updated again by grub to reflect the new installation. You will not get any choice about this (I was hugely annoyed as I was used to lilo, and when I installed ubuntu it installed grub, so I had to learn about grub, but it didn't take long, just a pain at the time, & now I don't care which is used). I wouldn't worry about this as grub has installed OK before, and is likely to do so again.

Have patience, persevere, and you'll get there. It is worth the frustration you may feel at first (Do you remember installing windows for the first time? -not fun) Linux has a steepish learning curve, but the mental gymnastics keep me from the nursing home, and you come to realise that it is both logical and sensible.

Time for food & bed for me. Good luck.
 
  


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
Ubuntu dual boot installation crashed on live CD only now. curleyg Ubuntu 6 12-11-2006 10:11 PM
Dual Boot Installation littlebeagle Linux - Newbie 3 02-26-2006 12:52 PM
Dual boot installation niteshg Linux - General 1 09-18-2005 11:50 PM
Dual Boot Installation kaplan71 Linux - General 1 04-27-2005 02:50 PM
Can't run live cd on dual boot zathrus Linux - Newbie 2 01-30-2005 07:55 PM


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