LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-27-2008, 02:30 PM   #1
puskas
Member
 
Registered: Jan 2004
Posts: 45

Rep: Reputation: 15
Ubuntu boot problem


I have a laptop with windows XP and I've tried to dual boot linux. It didn't work out with ubuntu (xubuntu, fluxbuntu). I got it installed and possible to boot but I don't get to the graphical user interface. I tried both the live CD and the hard installation. Instead I tried PClinuxOS 2007 and it worked fine to make partitions and install. It looks like this:

/dev/hda1 1 1 472+ 83 Linux
/dev/hda2 * 16 40657 20482875 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/hda3 40657 77520 18579172+ 5 Extended
Partition 3 does not end on cylinder boundary.
/dev/hda5 40657 56897 8185086 83 Linux
/dev/hda6 56897 61997 2570368+ 82 Linux swap / Solaris
/dev/hda7 61997 77520 7823623+ 83 Linux

I don't understand where I have the installation of Ubuntu. At least it's not hda 5-7. It was done by PClinuxOS 2007. I wan't to delete my Ubuntu and PClinuxOS 2007 also and then try to reinstall ubunutu. I haven't really understood partitioning, though tried and read some to learn. Maybe someone can help me to understand more of the partitioning process.
 
Old 10-27-2008, 02:43 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
First, let's translate what you have:
hda1 470K Linux
hda2 20GB Windows NTFS, marked as bootable
hda3 extended (container for the following)
hda5 8.2G Linux
hda6 2.5G Linux swap
hda7 7.8G Linux

hda1 is not going to be useful for anything--I'm curious how it got there, but, if Windows is booting, then don't worry about it.

To see who is using what, boot into PCLOS and enter "mount" in a terminal. That tells you where PCLOS is. Then you can mount the other partitions to see what's there. On the other hand, to simply delete stuff and start over, just boot up from the Ubuntu install disk. When you come to the partitioning step, you can simply tell Ubuntu to take---eg---hda5. You can first delete hda3 and higher and then re-create new partitions, but it's not necessary. (Don't delete hda1--there could be a risk of screwing up Windows.)
 
Old 10-27-2008, 02:50 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by puskas View Post
Maybe someone can help me to understand more of the partitioning process.
The standard PC has a partition table in the MBR (1st sector of the HD) with four entries. If you make 4 primary partitions, then that is all you can have on the disk. To get around this, someone invented the "extended partition". This is an entry in one of the 4 slots, and provides the beginning of a linked list to multiple "logical" partitions. With IDE/ATA, the total number is something like 64, and with SATA it is something like 16.
Windows wants to be on the first (primary) partition and it want the boot flag set. Linux does not care about either.

For more info:
http://en.wikipedia.org/wiki/Disk_partitioning
 
Old 10-27-2008, 03:12 PM   #4
puskas
Member
 
Registered: Jan 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pixellany View Post
hda1 is not going to be useful for anything--I'm curious how it got there, but, if Windows is booting, then don't worry about it.
When I tried partioning from windows xp I think it "happened". I'm not that familiar with partitioning, but I did it before from windows, not linux.

Quote:
Originally Posted by pixellany View Post
To see who is using what, boot into PCLOS and enter "mount" in a terminal. That tells you where PCLOS is.
This is what I get as info from mount in terminal and I don't understand where PCLOS is but it must be hda 5 or 6 or 7, because the partition tool in PCLOS created it:

/dev/hda5 on / type ext3 (rw,noatime)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,mode=0620)
none on /proc/bus/usb type usbfs (rw)
/dev/hda1 on /mnt/hda1 type ext2 (rw,nosuid,nodev)
/dev/hda2 on /mnt/win_c type ntfs (ro,nosuid,nodev,nls=utf8,umask=0)
/dev/hda7 on /home type ext3 (rw,noatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

Quote:
Originally Posted by pixellany View Post
Then you can mount the other partitions to see what's there. On the other hand, to simply delete stuff and start over, just boot up from the Ubuntu install disk.
So I should try fdisk from the ubuntu terminal, because it's what I get. No GUI desktop environment/x window.
 
  


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
Boot problem Ubuntu on Dual Boot Mickey1 Ubuntu 3 01-29-2006 08:14 AM
ubuntu boot problem MarxzWolf Linux - Hardware 2 10-19-2005 02:34 AM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
Ubuntu Boot Problem KelteN Linux - Newbie 1 09-30-2004 02:41 AM

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

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