If you bork your mint4win

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help

If you bork your mint4win

Postby Husse on Sun Feb 01, 2009 8:18 am

If you have installed with mint4win you have probably noticed that Mint is one big file. It is mounted with the loop command like any ISO in Linux and if you screw up you cant directly edit files you might need to edit (like menu.lst or fstab) to get it to boot
Here's how to make Mint in mint4win possible to edit from another Linux (you can't do it from Windows)
Boot another Linux you may have in your system or any live CD
Mount the windows partition (remember that the password on the live CD is empty)
Code: Select all
sudo mkdir /win

Code: Select all
sudo mount /dev/sda1 /win

You probably have Windows in sda1, but change sda1 to whatever you have. If you are uncertain you can use gparted (Partition editor) to check
Make a folder to mount min4win in
Code: Select all
sudo mkdir /vdisk

Mount the mint4win file (which is an ISO and can be mounted with loop in Linux)
Code: Select all
sudo mount -o loop /win/mint/disks/root.disk /vdisk

You should now be able to see the content in /vdisk and also edit and save the edits
When you are done
Code: Select all
sudo umount /vdisk

This is tested on both the live CD and an installed Mint
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: voldemarz and 8 guests