Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
i looked at that wrong the first time, but i think partition
magic hid your ntfs partition when it was moving stuff
around.
run
fdisk /dev/hda
then p for print
then t change type
then 1 for the first partition
then 7 for ntfs instead of hidden ntfs
then w for write changes and exit.
i think there's at least a 50% chance that will fix
your xp booting problem.
as a side order, the linux fdisk just makes changes
to the partition table when you change stuff. the windows
fdisk blanks out the first so many sectors of a deleted
partition, or a created one ( i can't remember which, or
both). so a lot of times i can delete a couple of partitions
in linux then put them back later, or swap 2 partitions
places, to fix something, or just for a change, and it works ok. you just need to keep the starting and ending
cylinders and partition types all printed out or written
down, so they don't get lost.
if this doesn't fix your xp booting problem, post the
contents of your boot.ini from the xp drive.
Well I had to reinstall linux, and now I can't get windows to appear in the boot again. I edited lilo.conf and put in
other = /dev/hda1
label = windows
table = /dev/hda
which is what I had before, but it still doesn't work. I've tried all variations I can think of too (other=/dev/hda,table=dev/hda1).
Disk /dev/ide/host0/bus0/target0/lun0/disc: 240 heads, 63 sectors, 10337 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 2099 9807 58280008+ 7 HPFS/NTFS
/dev/ide/host0/bus0/target0/lun0/part2 9808 10337 4006800 f Win95 Ext'd (LBA)
/dev/ide/host0/bus0/target0/lun0/part3 * 69 2098 15346768+ 83 Linux
/dev/ide/host0/bus0/target0/lun0/part4 1 68 514048+ 82 Linux swap
/dev/ide/host0/bus0/target0/lun0/part5 9808 10337 4006768+ b Win95 FAT32
Partition table entries are not in disk order
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect\
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
man, i would almost swear that looks right.
if lilo is installed, by typing lilo,
you do have the options at boot,
linux
linux-nonfb
failsafe
floppy
windows
you're saying you have all those except the
windows one? you do know you have to
run lilo
as root
after any changes to the file, for them to take effect?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.