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.
Hi every one. I'm a newbie. I purchased the book "Ubuntu 8.10 bible" and loaded the O/S. Somehow I managed to screw up the program that enabled connection to the net. Everything else works o.k. so I was able to learn a fair bit about Ubuntu. I then acquired 10.10 from a magazine and loaded it. Unfortunately it doesn’t show up in the menu.lst so I can't boot and run it. Rather than mess around I thought the smart move would be to erase both systems and start again. My system is a Dell 1330 laptop running Windows Vista, with 4 gig of memory. I have Acronis Disk Director Running in Vista and I could just erase the volumes of the above Linux systems but, I don't know where the menu.lst file is located that enables booting of the the selected system so if I did kill the Linux partition I could wind up not being able to boot Windows Vista.
Any ideas anyone
Hi!
It depends on:
1. Installed operating systems to keep (Windows!)
2. Which Linux do you want to install?
If you install another Linux you can write the boot loader into the MBR of your (first) hd [during installation of Linux] and after installing Linux and rebooting you can choose between Windows and your new Linux.
The best would be to create partitions with GParted to automatically delete your installed Linux that you don't need furthermore.
If you are able to boot to a Linux desktop, you could open a Terminal / Konsole and run as root:
Code:
fdisk -l
- lowercase l like list
and
Code:
parted -l print
and post the output by using the last but one symbol, # [Wrap code tags around selected text] to better read it.
alfredo
Ubuntu 10.10 uses Grub2, which doesn't have a menu.lst file. What might help is to boot the live CD again and mount the partition you have Ubuntu on. If the partition is number X, you would type in the terminal:
Code:
sudo mount /dev/sdaX /mnt
Then install grub to that partition:
Code:
sudo grub-install --root -directory=/mnt /dev/sda
Then reboot. With a bit o' luck, you'll find yourself back in Ubuntu 10.10. Then run:
Code:
sudo update-grub
Without the bit o' luck, you'll just have to reinstall the Ubuntu, but this time choosing your partitions carefully.
Last edited by albinard; 07-24-2011 at 12:50 PM.
Reason: forgot code tag wrap
Thanks for responding so quickly alfredo10 . I don't seem to have made myself clear.
I want to remove the 2 linux systems 8.10 and 10.10 and keep my windows Vista. All of the aformentiond O/Ss are installed. It will come as no supprise to you when I say I have no idea as a newbie what you mean when you suggest “installing yet another Linux system and writing the boot loader into the Master Boot Record of your (first) hd (during installation of Linux)”. I have as I understand your reply done just that by loading 10.10 but, it didn't show up in the menu at all so I can't run it, which is why I want to get rid of both linux systems. Neather do I have any idea of what “The best would be to create partitions with GParted to automatically delete your installed Linux that you don't need furthermore”. What is “ Gparted” ? and what does it do.
Since writing the last sentence. I have found in my my 8.10 Linux bible on page 1033 paragraph 5.
“This tool (Partition Editor) is not installed by default but can be down loaded”. So, since as I have already stated I can't get on line with 8.10 I am therefore unable to use it. As far as the fdisk -l
command is concerned it can't be used in the form that you have shown it. I have found again from my 8.10 Linux bible that I would have to use it in the following form “sudo fdisk -l” or I would be waisting my time as I would not be able to get to the root directory.
Thank you once again for your attempt to help but all I needed to know was where the menulist was located. If it is indeed in the MBR then erasing the partitions for 8.10 & 10.10 will still enable booting into Vista.
On reading the submission from albinard I get the impression I can't just kill the Linux partitions as there is an MBR for each partition. Bugger.
I would also like to thank John VV for his suggestion. It might well turn out to be the best way out. That is when I work up the courage to try it. So, thanks for you help so far lads.
Hi Redline!
If you only delete/ format your Linux partitions, you can't boot your VISTA.
First you should download PartedMagic, it is more than a Linux operating system, because it has many useful tools: http://partedmagic.com/doku.php?id=downloads
the first one, pmagic-6.3.iso, burn an image (not copy) and boot from it. It contains GParted, the best free partition editor, which you should use in any case; there you can see your partitions, attach a screenshot and afterwards you will get the help you need.
alfredo
Edit:
MBR = MasterBootRecord: there is only one on each hd; if you have VISTA and want to install Ubuntu, then default is, writing the boot loader Grub 1.9 into that MBR - that's oaky, because after installing and rebooting you can choose VISTA or Ubuntu.
But the best is to think about partitioning before installing - that's why I recommend to use PartedMagic/ GParted.
Last edited by alfredo10; 07-25-2011 at 06:57 AM.
Reason: Addition
Hi alfredo10 I have downloaded pmagic-6.3.iso, burnt a disc and run it. I have taken a snapshot of the partitions. I havent as yet found out how to attache a file in this forum yet. I'll get back to you when I do.
Last edited by Redline; 07-29-2011 at 12:35 PM.
Reason: Left out a full stop
Hi Redline!
Summary of your partitions:
3 primary for your Windows (1 - 3),
1 extended (4) with 5 logical partitions (8, 9, 6, 7, 5).
As you see, the logical partitions are not in the correct order (no big problem);
You have 2 swap partitions (one should be enough, if the size is okay -> later on);
2 unallocated spaces: no problem.
To continue: You have important files on one of the logical partitions?
To see the files:
Boot from PM 6.3 to Desktop; search in the Menu for mount devices or mount gtk, click.
Example:
If you want to see the files on partition sda8, mount it; in the other window: search for /media, click and you should see the folders, if the partition and the files are okay - if you want you can copy them (you have an USB stick?).
After having backed up all important data (or if you don't have data to backup), please post it and we will see what to do.
But we should know: You want to install 1 or 2 Linux distris - and which ones?
(There are different boot loaders, that's why we should know that).
Swap size depends on Memory size, please post the output of
Code:
free
And try to find out, if you really need swap (you want to use "suspend to disk"?)
You can compare it with Windows hibernate (where it is a file); in Linux swap usually is a partition, but it is possible to create a swap file.
If all questions are answered, we can start to partion your hd with PM / GParted.
alfredo
There are no files that have any importance on Sda6,7,8 and 9. as they only contain 8.10 and 10.10 which are to be scrapped.
So unless I have misunderstood there is nothing to forward to you. The swap files were loaded automaticly by the distros in newbie mode.
The only distro I will be loading is 11.4. So at this point I need to find out how to create and load the boot file into Sda3 which contains Vista before I kill Sda6,7,8 and 9.
To all who have tried to help me, thank you for your efforts and time.
Hi Redline!
If you install an operating system no one can give you a guarantee, but most times there is no problem, if you prepare partitions (with PM/ GParted).
To be on a safe side, I recommend to download SuperGrubDisk and burn an image; if you have a problem after installing, you can start your Windows or Linux with SGD (and repair Grub).
Important: You can create partitions with PM/ GParted and if you don't "apply" and "undo all operations" nothing will be written on your hd, that means: you can try to prepare your Ubuntu - I suppose - installation, take a screenshot, "undo", ask if it is okay - attaching the screenshot.
So: steps with PM/ GP:
1. Delete - one after another - the logical partitions 7, 6, 9, 8:
you click on a partition an choose partition/ delete; try that (apply or not - as you want).
2. Afterwards you should create at least a partition for root, maybe one for swap and one for home. But first you should know: swap [yes or no?] and sizes of the 2 (or 3) new logical partitions.
Example A without swap: root: 8 GB (8192 MB), home: rest.
Example B root, swap (~ 2 - 4 GB), home.
Swap size depends on your RAM (command "free") - usually at least equal or 1.1 * RAM.
Please don't install Ubuntu using "alongside", because you don't know what happens.
I never trust an automatic installer and always prepare partitions with GP - without a serious problem.
alfredo
Hi alfredo10
I have had quite a problem locating SuperGrubDisk. I found an exe program of SGD that runs in the system permanently and gives another menu similar to what I assume SGD gives. I did manage to find a site that allowed me to download an ISO of the program, which was also advertising a load of other software. When I burnt it to a disc it turned out to be in Spanish, and as such was useless.
I would like to thank Arcane for his comment, as it could well be the case. One can only suck it and see. I will not be commenting on this forum for a week as I have spent 2 1/2 days on this and everything is backing up on me.
Last edited by Redline; 08-03-2011 at 05:05 AM.
Reason: spelling
Hi Redline!
Home page: http://www.supergrubdisk.org/
There are 3 possibilities:
1. Old SGD (for Grub 1, means Grub legacy) - irrelevant, because current Ubuntu comes with Grub2
2. Super Grub2 Disk (~1.44 MB !)
3. Rescatux(~ 303 MB)
I recommend 3.
alfredo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.