LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-19-2007, 12:37 AM   #1
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Rep: Reputation: 21
How - Kubuntu Dapper with separate /home partition


I am reinstalling Kubuntu Dapper after installing a new drive. I want to install it on the old drive, and while at it, thought I might use a separate partition for /home as suggested in lots of places. The only problem is, I've seen the "how to" posts, but can't find one now that I need it.

Can anybody provide a link to a post on how to install with a separate /home partition?

Thanks!
Optiker
 
Old 01-19-2007, 12:49 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Since you are installing dapper - step through the install procedure as usual, but go slowly. The part where you can manually partition your drive will be obvious.

Last edited by Simon Bridge; 01-19-2007 at 12:50 AM.
 
Old 01-19-2007, 12:53 AM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
You should be able to use the advanced partitioning option from the Kubuntu desktop cd.

All you have to do is to create a partition and tell the installer to use it as /home. Make the partition "ext3" which is the default.

What do you have on your new hard drive? I suggest that you make your /home partition as large as possible.

--Ian
 
Old 01-19-2007, 01:28 AM   #4
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Original Poster
Rep: Reputation: 21
I went ahead and installed, and as you both said, partitioned for a /home partition - no problem. This is on the old 80 GB HD. I have two Ext3 partitions for /root and /home respectively, and a 2 GB swap partition - I know that's probably way overkill on the swap with a GB of RAM, but I will probably be reinstalling numerous times before I settle in.

However, problem! When I rebooted, grub never came up. It booted straight into WinXP. No idea what's going on. I use an Ext3 utility in Windows, so am able to look at the Kubuntu partitions, and the /root partition looks normal. In fact I went in and edited the /boot/grub/menu.list to default to Windows as for now, I am still defaulting to Windows.

There is one "drive" that I don't understand. It's labeled H:, and has two folders in it: /lost+found which is empty, and optiker (my login name) which contains four files: .bash_logout, .bash_profile, .bashrc, and Exampes. Noi idea where it came from or why.

Any thoughts?

Thanks!
Optiker
 
Old 01-19-2007, 02:20 AM   #5
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
The easiest way to fix this is to boot up the live cd and open up a terminal. Mount your root partition, (this should be done automatically, and copy the grub files from the CD into /boot/grub:
Code:
cp /usr/lib/grub/i386-pc/* /media/hda1/boot/grub
Assuming that your /boot is mounted on /media/hda1.

Code:
sudo grub
root (hd0,0)
setup (hd0)
quit
Again assuming that your root parition is /dev/hda1

I hope this helps
--Ian
 
Old 01-19-2007, 04:56 PM   #6
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Original Poster
Rep: Reputation: 21
Ian...I guess I'm not sure how to do this because I don't know for sure how to mount my root partition, don't know for sure where /boot is mounted, and don't know for sure that my root partition is /dev/hda1.

How do I verify those things?

Sorry to be such a dummy!

Thanks!
Optiker
 
Old 01-19-2007, 06:08 PM   #7
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 31
on my computer, the drive with lost and found and your user name is my /home folder. I'd bet it's yours too.

As for how to boot into linux, in the installer it should ask you somewhere if you want to install/configure grub. That is the bootloader that lets you choose which drive to boot into. My guess is you either set it up wrong, or didn't set it up at all. From linux, it's relatively easy to add different boot entries to grub... If you can't get into linux though, I don't know how you'd do it.

Edit: I guess if you can get into the grub config file, it's probably already installed. If windows comes straight up though, the windows boot thing is probably running instead of grub.

Last edited by war1025; 01-19-2007 at 06:11 PM.
 
Old 01-20-2007, 12:19 AM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Optiker: You should know the partition scheme you created... use "fdisk -l" from a terminal to get a map of the disk partitions: this should remind you. You can tell them apart by mounting them and examining their contents.

You may find that the linux partitions have been mounted for you.
 
Old 01-20-2007, 12:19 AM   #9
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
I think it might be easier just to install Kubuntu again. Make sure that you install GRUB to the MBR this time, and everything should work properly.

For future reference, write down and keep in a safe place the partition numbers on your computer:
eg: hda1 - Windows C:
hda2 - /
hda3 - swap
or whatever.

--Ian
 
Old 01-20-2007, 11:39 AM   #10
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by Simon Bridge
Optiker: You should know the partition scheme you created... use "fdisk -l" from a terminal to get a map of the disk partitions: this should remind you. You can tell them apart by mounting them and examining their contents.

You may find that the linux partitions have been mounted for you.
Simon...I can do that, but I don't know how to mount drives - this IS the Newbie forum, isn't it?

Thanks!
Optiker
 
Old 01-20-2007, 11:41 AM   #11
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by IBall
I think it might be easier just to install Kubuntu again. Make sure that you install GRUB to the MBR this time, and everything should work properly.

[snip]

--Ian
Ian...I never saw anything in the installation regarding installing GRUB, and everytime I've installed in the past, it's been transparent. I was headed towards reinstalling, but not sure what to do different from the last time.

Thanks!
Optiker
 
Old 01-20-2007, 01:08 PM   #12
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
The grub install is never transparent. They always have to ask if you want it installed, and if so where. There are tons of variables to take into account, like the number of drives, where this version of linux is on those drives, if grub should take over the MBR or not, etc. There is no way linux would install and just do grub "by default". It's like expecting your car to drive you somewhere by itself.

You really don't need to reinstall, unless you want to. All you need to do is get grub installed to the disk. There is advice in this thread already on how to do that, or you can search here at LQ, or use google. It is very well documented.

Peace,
JimBass
 
Old 01-20-2007, 09:38 PM   #13
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Simon...I can do that, but I don't know how to mount drives
man mount

For eg. To mount the filesystem on partition /dev/hda4, in a root terminal, enter:

# mkdir /mnt/hda4
# mount -t ext3 /dev/hda4 /mnt/hda4

You can enter the directory with "cd /mnt/hda4"
You can see the content with "ls"
(Of course, you can use nautlus to browse to the directory...)

Those who suggest that a reinstall is simpler are correct.
It would take less than half an hour for me to fix your system if I was sitting in front of it... but I'm not so...

There is a section where edgy asks you where you'd like to install GRUB. But you have to be quite sharp eyed to catch it. Skipping over it will install grub to MBR by default.

Like most folk will follow the signs (driving) to the airport by default - but some folk will research the route and choose an alternative.

As a self-confessed rank-beginner, you will benifit from the Edgy Eft Installation with Screenshots.

It looks like the grub install choice occurs right at the end in the frame headed Ready to Install... see how the grub location is in a wee button? Click the button and it will give you choices.
 
Old 01-20-2007, 11:34 PM   #14
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by JimBass
The grub install is never transparent. They always have to ask if you want it installed, and if so where. There are tons of variables to take into account, like the number of drives, where this version of linux is on those drives, if grub should take over the MBR or not, etc. There is no way linux would install and just do grub "by default". It's like expecting your car to drive you somewhere by itself.

You really don't need to reinstall, unless you want to. All you need to do is get grub installed to the disk. There is advice in this thread already on how to do that, or you can search here at LQ, or use google. It is very well documented.

Peace,
JimBass
Thanks Jim...I guess I was mis-remembering regarding installation of GRUB. This is the first time I've dual-booted with Linux on a separate drive from Windows, so maybe in the past, I just didn't know enough to know what I was actually doing.

In any case, I will be trying to reinstall grub on the correct disk.

Thanks again!
Optiker
 
Old 01-20-2007, 11:40 PM   #15
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by Simon Bridge
[snip]
There is a section where edgy asks you where you'd like to install GRUB. But you have to be quite sharp eyed to catch it. Skipping over it will install grub to MBR by default.

Like most folk will follow the signs (driving) to the airport by default - but some folk will research the route and choose an alternative.

As a self-confessed rank-beginner, you will benifit from the Edgy Eft Installation with Screenshots.

It looks like the grub install choice occurs right at the end in the frame headed Ready to Install... see how the grub location is in a wee button? Click the button and it will give you choices.
I tried once installing Edgy a mont or two ago on my older computer, and had a lot of problems. I've also seen a fair number of complaints about it, so while I'd like to have some of its new features, I'm inexperienced enough to not want to deal with the problems, and at this point, Dapper works fine for me. So, it is Dapper that I've installed, and further have used the live CD install, not the terminal install. Because of my inexperience, every time I've tried to use the terminal install, I've gotten to the point of launching the re-partitioning/reformatting, and have just had enough uncertainty to cancel the installation and go back to the GUI, which I'm more comfortable with.

I will try to reinstall GRUB as suggested and see how it goes.

Thanks!
Optiker
 
  


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
Mounting NTFS windows partition in Kubuntu Dapper Drake Kommari Linux - Hardware 6 04-02-2007 09:56 AM
Kubuntu dapper swagner7 Ubuntu 6 07-20-2006 02:10 PM
Kubuntu dapper x64 intentsly Linux - Games 2 07-11-2006 12:08 AM
mulit distro /home partition? (KDE | SuSE & Kubuntu) dutler Linux - Distributions 3 05-27-2006 07:18 PM
Does anyone here have a separate /root and /home partition? Kramer Linux - General 12 03-17-2004 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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