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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Using DiskDrake on Mandriva Linux 2006 on KDE, I reduced the size of my windows partition (/mnt/windows) and created a new partition from the empty space mounted to /usr. When clicking on "Done" I get three messages:
1) Your bootloader configuration must be updated because partition has been renumbered (I click on "OK")
2) The bootloader cannot be installed correctly. You have to boot rescue and choose "Re-install Boot Loader" (I click on "OK")
3) You need to reboot for the partition table modifications to take place (I click on "OK")
At this point i cancel the reboot because I have no idea what these errors mean. Then I get another message:
4) You should format partition sda5. Otherwise no entry for mount point /usr will be written in fstab. Quit anyway? (I click on "Cancel" instead of "OK").
What do these messages mean and what should I do about them?
You should do waht it told you to do: stick the rescue disk into the CDROM drive and reboot your machine. When the rescuedisk comes up, select to reinstall bootloader.
The errors essentially mean that something went wrong with modifying yuor bootloader configuration and it will be easier to just reinstall it than to try modifying it.
The final one about formatting the disk was a important one. Since the new partition you created is now without a filesystem, you will have to create one for it at some point before using it and then manually add the entry for it in /etc/fstab.
That command run as root should create the filesystem for the partition. Replace the "theFilesystemYouUse" with reiserfs, ext3 or whatever it is that you are using. (:
Well, you could always try reinstalling the bootloader yourself. But, Mandriva uses Grub and im not that familiar with it, am a Lilo fan myself.. Also I have no idea what filesystem Mandriva uses these days, back when I used it, it was ext3 but could be reiserfs these days.. The command
should show you how your current partitions ar mounted, you will see your current filesystem from there.
Okay, it was ext3. Now, how do I make the rescue disk or reinstall the bootloader myself?
Also, here are the results of the mount and the mkfs commands
[root@localhost michael]# mount
/dev/sda5 on / type ext3 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbfs (rw)
none on /sys type sysfs (rw)
/dev/sda7 on /home type ext3 (rw)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--)
[root@localhost michael]# mkfs.ext3 /dev/sda5
mke2fs 1.38 (30-Jun-2005)
/dev/sda5 is mounted; will not make a filesystem here!
Hum.. it seems that sda5 is your root partition.. So, that cannot be the one you resized.. Thus, the mkfs didn't work..
Usually one of the install disks also acts as a rescue disk, but I think we can get the bootloader reinstalled without it..
should work and install grub into the MBR. However, you should verify your grub config before reinstalling it since the new partition might screw the order up. The config oughta be located under /boot/grub/
Weird. menu.lst is the one but you dont seem to have one.. Very weird.. I think your best bet is posting a new question about the grub problems, it will attract better attention and you'll find someone who knows more about grub..
I ultimately just booted up with my Mandriva install disk and selected Repair (instead of a fresh install). It skips the partitioning and reinstalls the bootloader. I had to go in and re-mount the /usr partition. It still existed but didn't have a label. It is all working wonderfully now. Thanks a bunch!