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.
If you have resized the partitions, then that might have changed the partition table, so if the linux partition is still there, you might require to point to the correct partition in your file like fstab,grub/lilo.
To change these files, you need to access them, which can only be done by using an alternate boot device which can be
1. Rescue disk/floppy
2. Linux installed on some other partition, you need to boot using that.
3. Unplug this drive, plug into some system which has linux installed and boot this as secondary device, then mount the root partition and edit the required files.
I guess no need to unplug it. When we boot into rescue mode the total image is going to save in /mnt/sysimage. So you can edit the /etc/fstab file in rescue mode. just follow the steps
1.boot into rescue mode through CD
2.And it will ask you whether to copy the sysimage into /mnt/sysimage or not click ok
3.#chroot /mnt/sysimage
4.after executing the above cmd you can access the /etc/fstab file
I hope this will help you. Kindly suggest me if i'm wrong.
I guess no need to unplug it. When we boot into rescue mode the total image is going to save in /mnt/sysimage. So you can edit the /etc/fstab file in rescue mode. just follow the steps
1.boot into rescue mode through CD
2.And it will ask you whether to copy the sysimage into /mnt/sysimage or not click ok
3.#chroot /mnt/sysimage
4.after executing the above cmd you can access the /etc/fstab file
I hope this will help you. Kindly suggest me if i'm wrong.
hi,
If 'cghcgh' has a CD , then he can boot in the rescue mode and continue.
But he has mentioned that he has no Linux CD to boot from..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.