Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
please, can someone tell me how to use ubuntu 6.06 as live CD. It is one cd that is bothe live cd and installation cd. I want to use it as a diagnostic tool, but so far, I failed. Today, I tried that with my fully functional win XP coumputer. I simply started computer with Ubuntu 6.06 cd inside and soon, ubuntu was on my screen. I pressed alt+ctrl+F1 and went to terminal window where I tried to execute fsck, since I got error, I tried this:
e2fsck /dev/hda (since in /dev folder command: ls hd* returned only hda= and I got warning that running this on mounted drive can be dangerous, so I aborted procedure.
Then, I tried umount /dev/hda, but got message that /dev/hda is not mounted accoring to mat or something like that...
Where's the catch?
/dev/hda is the whole disk. You need to name the partition to use. First use
fdisk -l
to list all available partitions, then run the desired operation on the right partition (/dev/hda1 etc)
I'm a little confused as to what the actual question is. Are you asking how to use a LiveCD in general, or how to mount your hard drive from a LiveCD?
There are considerations when using a LiveCD.
- You can't make permanent changes to the distro on CD. Each time you boot, your config will be the same.
- RAM will limit the amount of storage you have available, assuming you're not utilizing a hard drive or USB stick.
- LiveCD is slow, since it's running from CD, which is slower than hard drive.
The best use I have found a LiveCD for is for diagnostic purposes; data recovery, hardware specifications, etc.
As far as your drive mounting issues, since you tried to use e2fsck on your NTFS partition, you're lucky you didn't kill your "good" XP partition. I recommend you study the purposes of the commands you're using. I also recommend that you back up any data on that machine in case you kill it.
I'm a little confused as to what the actual question is. Are you asking how to use a LiveCD in general, or how to mount your hard drive from a LiveCD?
There are considerations when using a LiveCD.
- You can't make permanent changes to the distro on CD. Each time you boot, your config will be the same.
- RAM will limit the amount of storage you have available, assuming you're not utilizing a hard drive or USB stick.
- LiveCD is slow, since it's running from CD, which is slower than hard drive.
The best use I have found a LiveCD for is for diagnostic purposes; data recovery, hardware specifications, etc.
As far as your drive mounting issues, since you tried to use e2fsck on your NTFS partition, you're lucky you didn't kill your "good" XP partition. I recommend you study the purposes of the commands you're using. I also recommend that you back up any data on that machine in case you kill it.
I'm aware of that, thanks.
Actually, I experienced real problems, when I placed new, clean (fat32) formatted disk in my computer. I wanted to run live cd and practice, how to do fsck and similar diagnostic tools, because I have problem with one disk (message "Missing operating system") but must not play with it because it has precious data on it. Problem is when i boot from live cd (bth ubuntu and suse liveeval 8.1) and go to /dev and type ls hd*, I get list about 15 names hda1...hda10, hdb1... but that really confuses me... Not really know how to use live cd to see what I have on disk and check if the disk is really good or not.
For example is it ok, when I boot live CD, to go to login (terminal) by pressing ctrl+alt+f1 and type fdisk -l to see what is going on?
Can you explain a little bit further? Somehow, I'm getting impression that I cannot do anything with my disk if I start from live CD..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.