LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-20-2010, 06:07 PM   #16
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19

Quote:
linux:~ # sudo mkdir /mnt/kubuntu
linux:~ # mount -t proc none /mnt/kubuntu/proc
mount: mount point /mnt/kubuntu/proc does not exist
That FAT32 partition is my "oh-shit" partition. I cant lose that, even if all my OS's die. Anyway....
 
Old 12-20-2010, 06:10 PM   #17
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
after creating the directory /mnt/kubuntu you'll have to execute the command
Code:
sudo mount /dev/sda1 /mnt/kubuntu
which went wrong in the first attempt since the directory was not created.

Markus
 
1 members found this post helpful.
Old 12-20-2010, 06:12 PM   #18
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Could you please (for clarification) post the output of
Code:
fdisk -l
Markus
 
1 members found this post helpful.
Old 12-20-2010, 06:16 PM   #19
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
Quote:
linux:~ # sudo mount /dev/sda1 /mnt/kubuntu
linux:~ #
Output of fdisk -l:

Quote:
linux:~ # fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002877b

Device Boot Start End Blocks Id System
/dev/sda1 1 12748 102398278+ 83 Linux
/dev/sda2 12749 25496 102398310 83 Linux
/dev/sda3 25497 50992 204796620 b W95 FAT32
/dev/sda4 * 50993 59280 66573329+ 5 Extended
/dev/sda5 50993 53542 20482843+ 83 Linux
/dev/sda6 53543 56092 20482843+ 83 Linux
/dev/sda7 56093 58642 20482843+ 83 Linux
/dev/sda8 58643 59280 5124703+ 82 Linux swap / Solaris
linux:~ #
 
Old 12-20-2010, 06:17 PM   #20
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
So it seems my grub, and it's entries, are hiding!
 
Old 12-20-2010, 06:22 PM   #21
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
In reference to post #17:

Quote:
linux:~ # sudo mount /dev/sda1 /mnt/kubuntu
mount: /dev/sda1 already mounted or /mnt/kubuntu busy
mount: according to mtab, /dev/sda1 is already mounted on /mnt/kubuntu
 
Old 12-20-2010, 06:22 PM   #22
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
ok, after mounting the Kubuntupartition, which seems sucessful, you'll execute the other commands
Code:
mount -t proc none /mnt/kubuntu/proc
mount -o bind /dev /mnt/kubuntu/dev
chroot /mnt/kubuntu /bin/bash
you may as well do (afterwards)
Code:
source /etc/profile
Markus
 
1 members found this post helpful.
Old 12-20-2010, 06:26 PM   #23
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
And now:

Quote:
linux:~ # mount -t proc none /mnt/kubuntu/proc
linux:~ # mount -o bind /dev /mnt/kubuntu/dev
linux:~ # chroot /mnt/kubuntu /bin/bash
root@linux:/#
 
Old 12-20-2010, 06:27 PM   #24
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
And:

Quote:
root@linux:/# source /etc/profile
root@linux:/#
 
Old 12-20-2010, 06:28 PM   #25
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
I noticed my prompt change in post #23
 
Old 12-20-2010, 06:30 PM   #26
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
Im about to have some downtime. I will be back here in about an hour. Thank you so much for your help so far. I will not power-down the machine.
 
Old 12-20-2010, 06:32 PM   #27
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
be aware, that you would have to do this steps again after rebooting!
Afterwards edit the menu.lst and reinstall grub.

Anyway, good luck, I'm going to bed now

Markus

Last edited by markush; 12-20-2010 at 06:33 PM.
 
1 members found this post helpful.
Old 12-20-2010, 08:02 PM   #28
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
Ok computer was not shut down, Im continuing from post #26.

Next step is edit menu.lst? How do I do this? Can anyone pick up from where markush left off?
 
Old 12-20-2010, 08:53 PM   #29
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
...lost...
 
Old 12-20-2010, 10:06 PM   #30
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 65
After issuing the chroot command, you do the same you had to do in that other thread about Salix, remember - grub-update or update-grub. Try running sudo grub-install /dev/sda or sudo install-grub /dev/sda after that.
 
1 members found this post helpful.
  


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
Choices Offered for Partitioning - No Swap Offered? cbl48 Ubuntu 1 04-03-2010 07:41 PM
[GRUB] can't find other OS's hattrick Linux - Newbie 8 11-06-2008 12:05 AM
2HDDs, 2 OS's (Grub Q) phantom_cyph Linux - Software 2 05-14-2007 11:18 PM
So exactly how many os's can Grub handle? mebrelith Fedora 2 03-16-2005 05:37 PM
2 harddrives, 2 os's, 1 grub? arg!! nickwu2000 Linux - Newbie 1 03-31-2003 12:23 PM

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

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