Click to See Complete Forum and Search --> : Disk Utils for linux
Q-Gdoxl
02-01-2001, 03:43 AM
Hi I am a linux newbie and loving it so far. I only have one problem LILO crashes on boot, I have to boot from floppy and I can't get windows to boot either. I found a great article here on LNO describing my problem and how to fix it.
http://www.linuxnewbie.org/nhf/intel/osbooting/lilo_dual.html
My problem is I need a program to resize my hard drive partitions. Can any one suggest a program I can run from linux that will do this for me? I am running Red Hat 7
Thanks
Gaccm
02-01-2001, 03:48 AM
are u running in console? cfdisk is pretty simple to use. but you might wipe your windows if your not careful. why do u need to resize your hard-drive?
Q-Gdoxl
02-01-2001, 04:20 AM
the atricle says to create a Linux partition on the c: and install LILO to the MBR right now it is on the 3rd IDE drive and LILO freezes on load and I am guessing it tried to write to my MBR so windows won;t load either lucky I have a boot disk.
Q-Gdoxl
02-01-2001, 04:22 AM
Sorry forgot to mention that I don;t have room on my c: for that it is close to full with win 98 and win 2k
demian
02-01-2001, 05:14 AM
If you want to resize existing partitions you can't use cfdisk that's just to create and delete them. Either ext2resize or resize2fs should be included in your distro.
However, in order to install lilo in the mbr of the first ide disk you don't need an extra partition. You can just put the boot=/dev/hda option in /etc/lilo.conf. This, of course, will wipe out the windows bootloader which doesn't work anyway as I understand. If you want to use lilo to boot into both win and linux then just go ahead and install lilo in the mbr of /dev/hda.
Q-Gdoxl
02-01-2001, 02:16 PM
I have boot=dev/hda in ly lilo.conf and lilo freezes on boot. What I was suggested to do is make a linux partition on the first drive and copy my /root there and then change in lilo.conf where the root dir is, reinstall lilo and it should work. Or so I am told hehe http://www.linuxnewbie.org/ubb/redface.gif)
Simplest thing here to get this solved,
Post your /etc/fstab and /etc/lilo.conf files here.
Also physical size of drives listed in /etc/fstab would be helpful.
From there we can hopefully get you situated. It might be as simple as reruning lilo.
------------------
Just a Tuna in the Sea of Life
Q-Gdoxl
02-02-2001, 07:42 AM
ok lilo.conf and fstab here we go
lilo
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
comapct
prompt
timeout=50
message=/boot/message
linear
default=linux
image=/boot/vmlinuz-2.2.16-22smp
label=linux
read-only
root=/dev/hdd7
image=/boot/vulinuz-2.2.16-22
label=linux-up
read-only
root=/dev/hdd7
other=/dev/hda1
label=dos
fstab
/dev/hdd7 (3g) / ext2 defaults 11
/dev/cdrom /mnt/cdrom iso9660 noauto.owner,ro 00
/dev/fd0 /mnt/floppy auto noauto, owner 00
none /proc proc
defaults 00
none /dev/pts devpts
gid=5, mode=620 00
/dev/hdd5 swap swap
defaults 00
this was all setup by the Red Hat 7 install program. looking at this, do I not need to mount hda? The first line of lilo.conf has boot=/dev/hda and I am guessing that fstab shows all the mounted devices, and /dev/fda is not listed strange?
:) dreams of booting from hard drive :)