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.
you'll need to provide more information - you mean you're booting windows, or you have windows and are trying to boot linux? why do you want to run fdisk?
to run as root, at a terminal type "su", enter, and then the root password
If you have installed linux on the same PC as windows then you will need to boot windows with lilo - lilo is the boot menu that comes up with linux and it can have an optin to boot windows. What distro is it you installed? Some will have added wndows to lilo already. If not, you may have to do it... It is also possible that if you recently installed linux you may have accidentally wiped the windows drive. You will have to give details. If you do su and type the root passsword then do:
fdisk -l /dev/hda
and post the results, this may give some some idea of what is going on...
linux and windows are on the same drive. windows still exists and i cam slect it as a boot option, it'l go through the little scroly thingy and a screen will say xmnt2002 program not found-skiping disk check
i think it goes by real quick. what i can tell from surfin' the web id that i need to turn my ntfs from hidden to regular (type 17 apperntly dont know what that means) my exprence with linux is very limited. mandrake 10.1 is whats running, fdisk /dev/hda gives:
The number of cylinders for this disk is set to 19457.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help):
with fdisk -l/dev/hda:
fdisk: invalid option -- /
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
cfdisk is a nice user interface for fdisk, I recommend it highly. You can enter cfdisk at the command prompt and then choose the type option from menu at the bottom of the screen. A list of fs types will come up and you can choose the number for the fs of your choice. Then once that is done choose write type yes and then choose quit. That should do the trick, if that's what you need to do.
01 FAT12 1E Hidden W95 FAT16 (LB 75 PC/IX BE Solaris boot
02 XENIX root 24 NEC DOS 80 Old Minix C1 DRDOS/sec (FAT-12)
03 XENIX usr 39 Plan 9 81 Minix / old Linux C4 DRDOS/sec (FAT-16 <
04 FAT16 <32M 3C PartitionMagic recov 82 Linux swap C6 DRDOS/sec (FAT-16)
05 Extended 40 Venix 80286 83 Linux C7 Syrinx
06 FAT16 41 PPC PReP Boot 84 OS/2 hidden C: drive DA Non-FS data
07 HPFS/NTFS 42 SFS 85 Linux extended DB CP/M / CTOS / ...
08 AIX 4D QNX4.x 86 NTFS volume set DE Dell Utility
09 AIX bootable 4E QNX4.x 2nd part 87 NTFS volume set DF BootIt
0A OS/2 Boot Manager 4F QNX4.x 3rd part 8E Linux LVM E1 DOS access
0B W95 FAT32 50 OnTrack DM 93 Amoeba E3 DOS R/O
0C W95 FAT32 (LBA) 51 OnTrack DM6 Aux1 94 Amoeba BBT E4 SpeedStor
which one am i lookin for in this i see three diffrent ntfs systems and i ant got a clue which one i want/need
nevermind think i got it thank yeall very mutch.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.