renaming partition table entry

Associate
Joined
5 Oct 2012
Posts
651
I need to change partition name from sda1 > sda2 and current sda2 > sda1

I have installed chromium OS as my fastboot OS on my windows/asus laptop.

Works very well but chromium OS seeks a ext4 partition is sda1. Currently it is my NTFS partition for Windows.



I have very little space to manouvure. E.g. I cannot move current sda1 partition onto another volume or extenrnal drive and do copy/paste job. It needs to be a rename. Is there any risk free way or low risk way to accomplish this?
 
It's probably as simple as changing /etc/fstab to reference the correct partition for the / mount point.

You'll see something like this:

Code:
UUID=b4bcd5df-f8f3-496b-9d41-d0b65781e306	/         	ext4      	rw,relatime,data=ordered	0 1

Find out which partition it's referencing by running

Code:
# sudo blkid /dev/sda1
# sudo blkid /dev/sda2

It's likely that it's trying to mount the NTFS partition as / rather than the ext4 partition. If the UUID in fstab is the same as the result of sudo blkid /dev/sda1 then that's why and the fix is as simple as changing the UUID in /etc/fstab to the UUID of /dev/sda2
 
Last edited:
Back
Top Bottom