LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   slackware > installation > ntfsresize (https://www.linuxquestions.org/questions/linux-newbie-8/slackware-installation-ntfsresize-270686/)

kleer 12-27-2004 01:40 AM

slackware > installation > ntfsresize
 
slackware 10.0 package just arrived in mail and i'm giving it a shot
planning on dual booting and dont wanna lose my winblows xp
ntfs is taking up whole hhd (or whatever) so i read up on ntfsresize and got the newest floppy sized version ntfsresize-static-1.9.4.tar.gz
first of all ive never worked with linux so i was baffled by the extension, winzip seemed to unzip it fine though.... threw ntfsresize (file) along with ntfsresize.8 [even crazier extension o.O] on floppy (all while in winblows xp)
mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html (ntfsresize FAQ website): Don't forget the './' characters in front of ntfsresize if the current directory isn't in the search path for commands.
-> :confused:

so my command THINGY looks a bit like: root@slackware:/floppy#
so i type: ./ntfsresize --info /dev/hda1 like the site says and get prompted 'ntfsresize' unknown file/dir
also tried losing the ./ and also using -i instead of --info as i saw the older version of the program used
(hda1 is my hdd filename or whatever so thats not problem)

ill take a wild guess and say im messing up some really simple thing
im tired need sleep but want new box to work.... help please

whipermr5 12-27-2004 02:12 AM

I think this ntfsresize thingy is used in linux, not windows. For a free trial of a partitioning program that can resize ntfs partitions without data loss, I like bootitng. Just use the trial to resize the partition, and when you're done, you can uninstall it. Go to www.terabyteunlimited.com to download it. When written to floppy, boot from the floppy and don't install it, click partition work, click on the ntfs partition, click resize, and follow the rest of the instructions.

kleer 12-27-2004 02:15 AM

trying it now, tell ya how it goes
thanks for speedy reply :)

whipermr5 12-27-2004 02:17 AM

No problem :) Really hope it works.

whipermr5 12-27-2004 04:28 AM

How's it going? :)

kleer 12-27-2004 03:59 PM

pulled an allnighter until 6am and got everything going :) ty for all help this forum rocks
bootit program worked well, resized ntfs to 30gig made swap partition to +1024M (double my RAM) and partitioned ~7gig to /
having trouble dual booting now, lilo doesnt appear to be working although it hasnt wrecked my xp partition...
put bootsect.lnx into C:/ and added the command lines into boot.ini
i get to the option screen, select Slackware and then enter a black screen with the flickering thingy at the top left, but it stops there, doesnt load slackware... LILO problem?
if i have to use LOADLIN can someone walk me thru the easiest way... or is theres another loader i can use...

also, wasnt quite sure about / and swap partitioning distribution... what is swap space? Slackware Linux Essentials didnt elaborate much on it... / is where all programs and stuff i d/l will be right?

thanks in advance :D

kleer 12-27-2004 04:10 PM

oops dont thik i ran lilconfig :o

kleer 12-27-2004 04:52 PM

slack still wont load after selecting in boot menu.... when i liloconfig i select simple install, and standar linux console and then it stops at "Installing Linux Loader..." screen... how long is it suppoed to take?... i waited over 10min still nothing...

whipermr5 12-27-2004 09:45 PM

Well, first boot into rescue mode on your slackware cd, mount your / filesystem and make an emergency boot disk, by typing mkbootdisk <kernel-version>. To find your kernel version, type ls /boot and look at the file named vmlinuz-<kernel-version>. That's your kernel version. Then, insert a blank floppy, and press enter. After it's done, reboot from the floppy, and it will boot linux. When you've booted into it, make a /etc/lilo.conf something like this:
Code:

boot=/dev/hda
install=/boot/boot.b
prompt
timeout=150
message=/boot/message
lba32
default=windows

image=/boot/vmlinuz
        label=Linux
        read-only

other=/dev/hda2
        table=/dev/hda
        label=Windows

Just change the other= to your windows partition. You may also make the default linux, and change the timeout=. The timeout is in 1/10 of a second, so i made it only 15 seconds. hda1 is the first partition, hda2 is the second and so on. The lba32 line should be changed to linear if it still does not work; if linear does not work, don't put lba32 or linear, leave it blank. Than run /sbin/lilo -t -v at a command line to test if it works. If there are no fatal: messages, run /sbin/lilo -v . If in doubt, please post the output from /sbin/lilo -t -v .

kleer 12-27-2004 09:59 PM

sounds like a plan, but uh can you explain how to edit with text editor... :D
tried using GEdit before but that gave me error...
explain like i'm 6yr old, exact command lines please ^^

whipermr5 12-27-2004 10:11 PM

OK. To make a backup first, type
Code:

mv /etc/lilo.conf /etc/lilo.conf.old
Type
Code:

vi /etc/lilo.conf
at a command line. Press "i" . Then copy all the text that I posted. Right click on the blank space, and select paste. Change the things that are different from your system. When you're done, press <ESC>, then type ZZ. It's case sensitive! You're done.

kleer 12-27-2004 10:48 PM

lol... ok so everything was working well, other than typo: message=/boot/message should be message=/boot/boot_message.txt and everything was going well, i got the LILO boot menu... select Slackware.... starts loading then sh*t hits the fan and i get huge list of:
reiserfs read_super_block: bread failed sector (you pick the # here ^^)
followed by the fancy lighting of my keyboard with a "Kernel Panic: VF: Unable to mount root fs on 03:06"

thanks for the effort :D
was worth a shot ^^
does this mean LILO wont work on my system? i need an alternate loader?

whipermr5 12-27-2004 11:04 PM

Oh, i forgot. Add a line
Code:

append="root=LABEL=/"
after label=linux. And it is not a typo! Its is to be /boot/message!

whipermr5 12-27-2004 11:06 PM

And maybe another line that says:
Code:

root=/dev/hda<whateverrootis>

kleer 12-27-2004 11:17 PM

Kernel Panic.... ok adding that root= line now, thanks for baring with me


All times are GMT -5. The time now is 12:34 AM.