LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-27-2004, 01:40 AM   #1
kleer
LQ Newbie
 
Registered: Dec 2004
Location: wisconsin, us
Distribution: Slackware Linux 10.0
Posts: 21

Rep: Reputation: 15
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.
->

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
 
Old 12-27-2004, 02:12 AM   #2
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
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.
 
Old 12-27-2004, 02:15 AM   #3
kleer
LQ Newbie
 
Registered: Dec 2004
Location: wisconsin, us
Distribution: Slackware Linux 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
trying it now, tell ya how it goes
thanks for speedy reply
 
Old 12-27-2004, 02:17 AM   #4
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
No problem Really hope it works.
 
Old 12-27-2004, 04:28 AM   #5
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
How's it going?
 
Old 12-27-2004, 03:59 PM   #6
kleer
LQ Newbie
 
Registered: Dec 2004
Location: wisconsin, us
Distribution: Slackware Linux 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 12-27-2004, 04:10 PM   #7
kleer
LQ Newbie
 
Registered: Dec 2004
Location: wisconsin, us
Distribution: Slackware Linux 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
oops dont thik i ran lilconfig
 
Old 12-27-2004, 04:52 PM   #8
kleer
LQ Newbie
 
Registered: Dec 2004
Location: wisconsin, us
Distribution: Slackware Linux 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
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...
 
Old 12-27-2004, 09:45 PM   #9
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
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 .

Last edited by whipermr5; 12-27-2004 at 09:47 PM.
 
Old 12-27-2004, 09:59 PM   #10
kleer
LQ Newbie
 
Registered: Dec 2004
Location: wisconsin, us
Distribution: Slackware Linux 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
sounds like a plan, but uh can you explain how to edit with text editor...
tried using GEdit before but that gave me error...
explain like i'm 6yr old, exact command lines please ^^
 
Old 12-27-2004, 10:11 PM   #11
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
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.
 
Old 12-27-2004, 10:48 PM   #12
kleer
LQ Newbie
 
Registered: Dec 2004
Location: wisconsin, us
Distribution: Slackware Linux 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
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
was worth a shot ^^
does this mean LILO wont work on my system? i need an alternate loader?
 
Old 12-27-2004, 11:04 PM   #13
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
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!
 
Old 12-27-2004, 11:06 PM   #14
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
And maybe another line that says:
Code:
root=/dev/hda<whateverrootis>
 
Old 12-27-2004, 11:17 PM   #15
kleer
LQ Newbie
 
Registered: Dec 2004
Location: wisconsin, us
Distribution: Slackware Linux 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
Kernel Panic.... ok adding that root= line now, thanks for baring with me
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ntfsresize cluster accounting errors firecat53 Linux - General 6 09-21-2005 09:53 AM
ntfsresize an extended partition? bleargh Linux - Software 1 05-19-2005 06:12 AM
Help understanding ntfsresize? dr_zayus69 Linux - Software 13 03-18-2005 06:02 AM
ntfsresize not resizing enough eno_on Linux - General 5 12-28-2004 07:42 AM
Problem after using NTFSResize 1.9.1 and fdisk StE_gUy Linux - General 1 04-18-2004 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration