Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Inukaze : This its my own , an easy method
- To clean a "/" (root) partition of linux filesystem
- except the "/home" directory / partition to install
- a new linux distro without troubles and clean installation
- its simple , just config you BIOS or use "BootMenu"
- in somes PCS activate when you press "F8" at boot
- and select "CD-ROM"/"USB"/"SD" depend of case
- Now start your "live"/CD/SD/USB and now use the
- "Terminal" with the command "sudo blkid" if a debian
- or debian derivate distro
- with anothers distro you try with "su blkid" or first
- login how root , using "sudo su"
- now , if you know what partition you need mount
- ( i ever make a "LABEL" for each partition i can )
- in a directory , for example you can make a folder
- cd $HOME/Desktop
- sudo mkdir -p Distro
- For example :
- sudo mount /dev/sda2 Distro
- and now use :
- sudo rm -rf bin boot cdrom DebBoot dev etclib lib64 lost+found media mnt opt proc root run sbin selinux srv sys tmp usr var xfce4
- and now
- cd ..
- sudo umount Distro
- Now you can use the installer in your Live Distro , to install , without format the partition
- if you are trying to install old version of "Ubuntu" for Example "Jaunty Jackalope"
- and in the end of installation "grub-install" fail , you must do the follow for example
- # - Partitions "/dev/sda2" ( root partition ) , "/dev/sda4" ( Boot partition ) :
- mkdir Linux
- sudo mount /dev/sda2 Linux/
- sudo mount /dev/sda4 Linux/boot/
- sudo mount --bind /proc Linux/proc
- sudo mount --bind /dev Linux/dev
- sudo mount --bind /sys Linux/sys
- sudo chroot Linux/
- grub-install --recheck /dev/sda
- grub-update
- Ready. ( if dont work , try with "grub-install --recheck /dev/sda4 && grub-update )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement