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.
Is there a stable/easy way to make my boot partition bigger, or better yet, merge it with my root partition. I like to install the latest kernels and don't delete the last ones for a while. I was wondering if I could make the boot partition bigger for this reason.
I was thinking about using Qtparted, but I am not sure if anything will get messed up after using it.
How big is it currently? Maybe you just want to change
the filesystem :}
That aside it's quite easy to move /boot to / ...
Just go init 1 and then
a) copy the files from boot to /tmp/boot
b) unmount /boot
c) edit /etc/fstab, remove the /boot-line
d) copy files from /tmp/boot back to /boot
Done ... caveat: you have a tiny, empty partition :)
To change it from ext3 to ext2, you'll have to back up all the files from the /boot partition, then "mke2fs /boot", and then copy all the files back. I don't think there's a way to do it without reformatting, but I could be wrong.
I did a little research and I found a few threads that say to do this:
"You use tune2fs to change the file systems either to or from ext2 or ext3.
I suggest you use your install CD to load your system since I don't
believe you can make the change with the partition active.
Once you have a working system without the partition mounted that you want
to change you should issue this command:
tune2fs -O ^has_journal /dev/drive_partition
where drive partition is something like hda1. You will also need to
change /etc/fstab to make sure the partition the correct type.
To change it back just do the same but issue this command:
You could create a boot partition on your root (/) partition and mount it there, copying all of the files to your new directory, then either reformat the old boot as ext2 or use tune2fs. After that you can move the files back. This will be easier to do using the rescue system when the /boot partition isn't mounted to begin with.
Do I even need a /boot partition? Can I just copy the /boot folder to the root partition and delete the /boot partition afterwards. Not sure how I would reset the boot flag though...
Tune2fs should work. You'll need to umount the /boot partition first, though. If you do choose to just copy the boot partition onto the root partition, make sure you update your grub.conf for the new locations. I think you can set the boot flag with fdisk.
I think I really messed it up now. I copied /boot to /temp/boot, then I formatted my boot partition as ext 2 with qtparted. Then, went to the fstab and commented out my swap by accident (thought it was the partition qtparted made). I also commented out my boot partition. Now I can't load grub.
I thought about using knoppix to solve this just by copying and pasting /boot to the root partition but it says I do not have permission even though I use the super user mode gui thing. Help.
You can likely use knoppix. If it has grub on it, which is quite likely, try to reinstall grub (who needs menu.lst?) Or, install grub to a floppy for this problem. If you have grub without a menu.lst (or grub.conf in gentoo-speak), you can still boot by entering the boot (hdx), kernel= lines. You can even install grub to your hard drive's partition again if you know where your kernel is - you can get the darn thing booted again anyhow.
Thanks for the suggestion vectordrake. I have tried many ways to make linux boot disk that I found on google, but many have not worked for me.. I can still copy files from my old /boot partition onto a cd and floppy. I have a grub folder, lost and found, vmlinux, config files, initrd.img files, and system maps for 3 different kernels: 2.5, 2.4, and 2.6.6.
How do I make a boot disk from this? I would like to make it using a cdrom since it is really hard to make floppy boot disk do to the slowness of my floppy drive. I also have a debian sarge installer if that helps any.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.