Results 1 to 3 of 3
Hi,
I have a pc with 2 disks: in the first (/dev/hda) there are soma windows installations, in the second (/dev/hdc) there is linux (Suse 8.1).
I also would like ...
- 03-25-2003 #1Just Joined!
- Join Date
- Feb 2003
- Posts
- 38
two linux in a disk
Hi,
I have a pc with 2 disks: in the first (/dev/hda) there are soma windows installations, in the second (/dev/hdc) there is linux (Suse 8.1).
I also would like to install red hat 8.0, so I tried to resize "suse" partitions, but Yast told me that resizing is possibile only if the partition is not mounted and it was impossibile to unmount it.
How can I do?
Maybe I have to boot from cd and resize using...what? (yast, or fdsik, or...)
If I succeded in resizing, once I installed RH and lilo in MBR of hda, how can I set lilo to boot Suse?
Thanks.
- 06-15-2003 #2Linux Engineer
- Join Date
- Apr 2003
- Location
- Sweden
- Posts
- 796
Boot up your linux in single usermode...and the rezise you partitions..
Then make an entry in /etc/lilo.conf for the things you want to be able to boot from and the execute the command lilo as root. The reboot your computer.
RegardsRegards
Andutt
- 06-15-2003 #3Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
You can't shrink a partition while it's mounted, and we all know that the root partition can't be unmounted even in single user mode. You will need to boot from a CD. If you don't already have one, download Knoppix.
I'm guessing that you're using ext2 or ext3? In that case, shrink the filesystem with resize2fs, and then shrink the partition to match its size with fdisk.
RedHat's installation program will probably detect SuSE and make it able to boot that as well. Just don't use LILO, use GRUB instead.


Reply With Quote
