[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug in Boot-Disk Package?



goswin.brederlow@student.uni-tuebingen.de (Goswin Brederlow)  wrote on 21.06.97 in <33AC0224.1896@student.uni-tuebingen.de>:

> The script should eigther reboot after the disk holding root is
> partitioned or try to remount root r/w. Rebooting is a bit anoying when
> you only changed the type of another partition from DOS\0 to LNX\0,
> whereas remounting might get stuck if the partition holding root has
> changed name or place. So rebooting is probably the savest.

It's not only getting stuck. It's that the kernel doesn't know what you  
have done to the partition table. You do something to the drive with the  
new partition table in mind, and the kernel interprets your actions based  
on the old partition table.

It might lead to you creating a new file system where you think is a spare  
partition, but instead hitting your valuable data from which you have no  
backup, because the kernel counts partitions different from you.

Going on without reboot is really dangerous. Only people who thoroughly  
understand the issues involved should try it. Much, much better just to  
reboot.

On the other hand, repartitioning a drive with no mounted partitions is  
completely harmless; the kernel will just reread the partition table and  
go ahead.


MfG Kai


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: