Hacker News new | ask | show | jobs
by slipknotfan 15 days ago
you can solve the google problem: cd C: && find -type f | grep google | sudo xargs rm

and also the win11 problem:

format C:

1 comments

Why run two commands when the following will remove both google and windows in one command?

cfdisk /dev/hda && mkfs.xfs /dev/hda1 && mount /dev/hda1 /mnt/gentoo/ && chroot /mnt/gentoo/ && env-update && . /etc/profile && emerge sync && cd /usr/portage && scripts/bootsrap.sh && emerge system && emerge vim && vi /etc/fstab && emerge gentoo-dev-sources && cd /usr/src/linux && make menuconfig && make install modules_install && emerge gnome mozilla-firefox openoffice && emerge grub && cp /boot/grub/grub.conf.samp le /boot/grub/grub.conf && vi /boot/grub/grub.conf && grub && init 6

You forgot echo CFLAGS=-funroll-all-loops >> /etc/portage/make.conf
I can see that chrooting into an empty folder can make it look like everything is deleted but it's actually the mkfs command that deleted everything.