LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2009, 06:12 PM   #1
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Rep: Reputation: 30
Load a user from LiveCD


Me again,

I boot using the latest Ubuntu 9.04 LiveCD.
Whenever I try to install grub, a grub directory and menu.lst is installed on the ramdisk that the LiveCD created. Grub is therefore not actually installed. I know this because my system won't boot at all without a CD.

What I'd like to know is if I can load a user from the currently installed Ubuntu 8.04? Or, how can I run commands that will affect the installed system and not the ramdisk?

Thanks
 
Old 05-30-2009, 09:09 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Hmm, the idea of the LiveCD is to stay away from exactly the situation you describe. In order to do what you want, you need to do a couple of things. Please note, I have never done this, and I don't recommend it. You have been suitably warned! :

1: Mount the root of your 8.04 install somewhere in the ramdisk file system
Code:
sudo mkdir /mnt/somewhere
sudo mount -t ext3 /dev/sda1 /mnt/somewhere
or something like that, assuming that your 8.04 install is on /dev/sda1.
2: You need to chroot (change root) to /mnt/somewhere
Code:
sudo chroot /mnt/somewhere
Then I think, your commands will run on the underlying system. Please read this for more info:https://wiki.ubuntu.com/DebootstrapChroot

I suggest lots of reading and research if you do not want to end up with a brick!

My other suggestion is use the option at the boot screen of the livecd to boot from the first hard drive.
 
Old 05-31-2009, 08:25 AM   #3
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Original Poster
Rep: Reputation: 30
Thank irishbitte,

Some of the tutorials on installing grub describes the same steps. Except for the chroot command. As for the boot option on the liveCD, when I do select to boot from the first HDD, the computer just hangs, as it does if I try to boot normally.

I'm also presented with a new problem. Though, it feels like a step in the right direction. At boot, after the splash screen of the computer, I get the message "Invalid partition table". At least I have something to work with now.

Thanks again.
 
Old 06-01-2009, 07:43 PM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Is it possible that a GRUB installation has been tried using the LiveCD and has messed up the partition table on your harddrive? Can you try picking the second option in your GRUB menu, without using a CD and see how you go?

Here is some nice reading for you: http://www.howtogeek.com/howto/ubunt...-wipes-it-out/
 
  


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
Load LiveCD into ram linuxisgreat Linux - General 11 05-06-2009 03:50 AM
WannaBe Linux User cannot boot ANY livecd distro? Coffee1970 Linux - Newbie 10 01-10-2008 05:58 PM
Ubuntu LiveCD won't load, crashes to CL MarlboroCowboyCub Linux - Newbie 7 06-24-2007 09:52 AM
Mandriva ONE livecd won't load. Brianfast Mandriva 0 10-22-2006 12:32 PM
Load kde profile from /mnt/removable/user instead of /home/user preacher.ca Linux - General 3 12-02-2005 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:19 AM.

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