modifer fstab by mistake,can not boot debian

I have been using debian(sid) for quite a while. I also have windows
xp installed on my pc too. When I use debian, I modified fstab to let
debian mouse an NTFS drive automatically.

Today, to test some parameters in fstab, I changed a parameter for
the NTFS drive from auto(which worked fine previously) to default(just
like ext3 ). But after that, the system could not boot. It stoped
right here:

"Please use option nls= in the future.
NTFS Volume Version 3.1"

I dont know how to do now. I really have very important data from my
research on my pc. Is it possible to edit fstab or just boot to some
kind of basic system, so at least I can rescue my data?

Many thanks, I am having a tough thanksgiving now.

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

modifer fstab by mistake,can not boot debian

On Wed, 2007-11-21 at 21:08 -0800, mond wrote:

> I dont know how to do now. I really have very important data from my
> research on my pc. Is it possible to edit fstab or just boot to some
> kind of basic system, so at least I can rescue my data?
>
> Many thanks, I am having a tough thanksgiving now.

Sounds like a job for one of the live CD distros like Knoppix, Mepis,
Damn Small Linux, Ubuntu, etc.

Just boot up with a live CD (I'm assuming you have another working
system you can use to download and burn the ISO to disk), and edit away.

--

modifer fstab by mistake,can not boot debian

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Nov 21, 2007 at 10:34:42PM -0800, Scarletdown wrote:
> On Wed, 2007-11-21 at 21:08 -0800, mond wrote:
>
> > I dont know how to do now. I really have very important data from my
> > research on my pc. Is it possible to edit fstab or just boot to some
> > kind of basic system, so at least I can rescue my data?
> >
> > Many thanks, I am having a tough thanksgiving now.
>
> Sounds like a job for one of the live CD distros like Knoppix, Mepis,
> Damn Small Linux, Ubuntu, etc.
>
> Just boot up with a live CD (I'm assuming you have another working
> system you can use to download and burn the ISO to disk), and edit away.
>
>

Or he can just boot the Debian installer, hit Alt-Right and end up at a
(albeit, basic) TTY terminal. For something as simple as this mond
really doesn't have to go as far as the Ubuntu LiveCD.

- --
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs.
- Richard Stallman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHRS1gg6qL2BGnx4QRAnKMAKCPr6LFMlgpWFzwejRhU7ubNDd2UwCfSXnr
6WQAtDDtN6HSUjArvmt6dQ0=
=4i6K
-----END PGP SIGNATURE-----

--

modifer fstab by mistake,can not boot debian

On Wed, Nov 21, 2007 at 10:34:42PM -0800, Scarletdown wrote:
> On Wed, 2007-11-21 at 21:08 -0800, mond wrote:
>
> > I dont know how to do now. I really have very important data from my
> > research on my pc. Is it possible to edit fstab or just boot to some
> > kind of basic system, so at least I can rescue my data?
> >
> > Many thanks, I am having a tough thanksgiving now.
>
> Sounds like a job for one of the live CD distros like Knoppix, Mepis,
> Damn Small Linux, Ubuntu, etc.
>
> Just boot up with a live CD (I'm assuming you have another working
> system you can use to download and burn the ISO to disk), and edit away.

Or just boot the install CD in rescue mode. It should mount the root
drive so that he can run a shell chrooted to / so that he can edit
/etc/fstab on the drive and not /etc/fstab in the ramfs of the installer
environment.

Alternatively, he could boot his regular box with init=/bin/sh so that
only the / filesystem is mounted ro and /etc/fstab doesn't get read and
nothing gets mounted. He'll have to remount / rw so that he can then
edit and save a corrected /etc/fstab.

Doug.

--

modifer fstab by mistake,can not boot debian

On Wed, Nov 21, 2007 at 09:08:32PM -0800, mond was heard to say:
> I have been using debian(sid) for quite a while. I also have windows
> xp installed on my pc too. When I use debian, I modified fstab to let
> debian mouse an NTFS drive automatically.
>
> Today, to test some parameters in fstab, I changed a parameter for
> the NTFS drive from auto(which worked fine previously) to default(just
> like ext3 ). But after that, the system could not boot. It stoped
> right here:
>
> "Please use option nls= in the future.
> NTFS Volume Version 3.1"

You should be able to boot by adding the boot parameter
"init=/bin/sh". After you get a prompt with that run "mount -o remount,rw /"
and then fix fstab. When you're done, run "mount -o remount,ro /" and
exit the shell. The system should reboot.

Daniel

--

modifer fstab by mistake,can not boot debian

Am 2007-11-21 21:08:32, schrieb mond:
> I have been using debian(sid) for quite a while. I also have windows
> xp installed on my pc too. When I use debian, I modified fstab to let
> debian mouse an NTFS drive automatically.
>
> Today, to test some parameters in fstab, I changed a parameter for
> the NTFS drive from auto(which worked fine previously) to default(just
> like ext3 ). But after that, the system could not boot. It stoped
> right here:
>
> "Please use option nls= in the future.
> NTFS Volume Version 3.1"
>
> I dont know how to do now. I really have very important data from my
> research on my pc. Is it possible to edit fstab or just boot to some
> kind of basic system, so at least I can rescue my data?
>
> Many thanks, I am having a tough thanksgiving now.

Put your "Debian Install CD" into your drive an boot up...

At the prompt type "rescue" and follow the instructions...

Thanks, Greetings and nice Day
Michelle Konzack
Tamay Dogan Network
Open Hardware Developer
Debian GNU/Linux Consultant

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)

Syndicate content