LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-15-2008, 01:40 PM   #1
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Cool Fstab and bootloader


In etc/fstab is a formatted hdd in ntfs but empty I like to remove it with kwrite is this possible ?
Because a long ago I did it once with PIco but now it says pico command not found
After removing it from Fstab I like to delete it too from boat options

Are both thinks possible without disrupting suse 10.3 ?



all the best
 
Old 03-15-2008, 02:25 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Removing the line from /etc/fstab will result in it not being mounted when you bootup. It doesn't matter which Linux text editor you use (don't use a word processor however). If you were to remove the partition, then the devices nodes of the other partitions may change and you would need to modify both /etc/fstab and /boot/grub/menu.lst to reflect the changes.

If you don't need this partition, you could use the partitioner program in YaST2. You could delete the partition and extend the one before it, or reformat it with a Linux filesystem and use it for one of the Linux partitions. /home & /usr tend to be large. It this partition is big and /home doesn't have it's own partition, you could A) mount it under a temporary name such as /home_new. B) move the contents of /home to /home_new. C) Unmount the device and remount it as /home.

Having /home on a separate partition has the advantage of being able to reinstall your distro, or another one but not format the /home partition. Then you will be keeping all of your documents and personal files.
 
Old 03-15-2008, 02:42 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
I would use an editor that will word wrap off so the lines that are longer than is displayed in the window don't drop and start a new line. Many like nedit, kedit, nano perform this standard or require a change in the options before editing.

Brian
 
Old 03-15-2008, 04:36 PM   #4
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Original Poster
Rep: Reputation: Disabled
Both thank you for you,re reply but it is not a partition but a total empty drive now formated in NTFS
when I try to reformat this drive using Yast2 it come up with a lot of warning I remember when I install suse she also mount it
so in start up options I have 2 Windows XP 1 and Windows XP 2 but start up windows
In boat loader are 2 lines about windows XP
What will happen in the worst case that I have to reinstall suse

So some more advice please

All the best
 
Old 03-17-2008, 06:20 PM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
If you are in kde, you can use "kdesu kate /etc/fstab" to edit the file.

You can also use vim or emacs to edit it. There probably will be a vim or vi or vim-minimal available in any boot disk or rescue mode.

If the entire drive is formatted with the ntfs filesystem, then this disk will contain 1 partition.

Another option is adding the "noauto" option in the /etc/fstab entry for the partition. An entry with "noauto" in it will not be mounted when you bootup but you can manually mount it later.

There are man pages for both "mount" and "fstab". For mounting ntfs filesystems, the ntfs kernel option needs to be loaded. It may be already.
Code:
lsmod | grep ntfs
An alternative is to use ntfs-3g instead. This will give you read/write access using a "fuse" user land (vs kernel) driver. For this you need the "ntfs-3g" and "fuse" packages installed. Then the "fuse" kernel module needs to be loaded:
Code:
sudo modprobe fuse
Then use the filesystem type "ntfs-3g" in /etc/fstab or as the filetype "-t ntfs-3g" in a mount command.

---

I was thinking that maybe what you are trying to do is remove an extra "windows 2" entry from the boot menu. For that you need to simply edit out the section from /boot/grub/menu.lst.

Last edited by jschiwal; 03-17-2008 at 06:26 PM.
 
  


Reply

Tags
boot, fstab, loader


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
I need create bootloader. How make bootloader? swipple Fedora - Installation 3 01-23-2005 12:22 PM


All times are GMT -5. The time now is 07:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration