12-08-2006
Help changing /etc/vfstab - can't boot
I have Solaris 10 Express that I installed on a PC with two drives. It was on drive 1 (with the boot drive being drive 0). Linux was in a different parition and my boot options where managed by grub.
The Solaris parition's /etc/vfstab referenced the root, user, etc.. disks as c0d1sX. But since I remove the original boot drive, the new disk has become d0. So naturally when I attempt to boot Solaris it craps out.
I can boot single user, but / gets mounted read-only and therefore I cannot change /etc/vfstab.
The CDROM drive doesn't work, so I'm left with few options.
Is it possible to get the root filesystem mounted rw so I can edit the /etc/vfstab?
If so, how?
Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to change the boot slice on a Sun box, more specifically the alias of "disk". When I do a printenv from the ok prompt, it lists "boot-device disk net", but when it boots, it is looking at the wrong slice on "disk" (3 Replies)
Discussion started by: 98_1LE
3 Replies
2. UNIX for Dummies Questions & Answers
If i wish to make a mount permanent, is it /etc/vfstab that i have to the entry add to? If so does anybody know the syntax, ie. is it tab or space delimited ? etc etc
any help would be greatly appreciated (3 Replies)
Discussion started by: hcclnoodles
3 Replies
3. Solaris
In the end of /etc/vfstab file :
/dev/md/dsk/d30 /dev/md/dsk/d30 /odb0 ufs no no -
/dev/md/dsk/d40 /dev/md/dsk/d40 /odb1 ufs no no -
After boot filesystems /odb0 and /odb1 don't mount.
Also they don't mount after comand mount -a
But if i'm enter... (1 Reply)
Discussion started by: jess_t03
1 Replies
4. Shell Programming and Scripting
Hi all,
I have been trying to figure out a way to mount swap on /tmp at a stage early than the default script that does it...
If anyone knows how it can be done pls pls help me!!!!!
I have been struggling a lot for it
Secondly, continuing with the same issue...
I wanted to know if the... (4 Replies)
Discussion started by: wrapster
4 Replies
5. Solaris
Hi Everyone,
How to find the wrong entry in etc/vfstab or wrong mount point in etc/vfstab ?
Thanks & Regards
Padmaja. (4 Replies)
Discussion started by: padmaja
4 Replies
6. UNIX for Dummies Questions & Answers
what is the difference between the /etc/vfstab and /etc/mnttab? when i check both files, the content is almost the same. can you enlighten me? what i know is /etc/vfstab is used for hard mounts. (4 Replies)
Discussion started by: hrist
4 Replies
7. UNIX for Advanced & Expert Users
Hi,
I am using Ubuntu 10.4 and I want to change the boot loader option to boot Windows 7 by default. Every time I update Ubuntu some extra lines appears at the boot menu. I want to remove them also. Please help me (1 Reply)
Discussion started by: dearanik
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys
i need your help quite urgently
I am setting up a vfstab but need some help, here is the file systems
0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> drmlc-00
Part Tag Flag Cylinders Size Blocks Mounted/used by
0 root wm 0 - ... (1 Reply)
Discussion started by: brian112
1 Replies
9. Homework & Coursework Questions
Posted in wrong area, post can be deleted, my appologies. (0 Replies)
Discussion started by: derbarbarian
0 Replies
10. Ubuntu
Hey i am running both ubuntu 10.10 and windows 7, trying to make the default boot be windows 7 instead of ubuntu but it doesn't want to work. Ive tried changing default in the grub file it didnt work, then i installed startup-manager and set windows 7 as the OS and it still boots into ubuntu. Thx... (3 Replies)
Discussion started by: Era555
3 Replies
LEARN ABOUT LINUX
grub-install
GRUB-INSTALL(8) System Administration Utilities GRUB-INSTALL(8)
NAME
grub-install - install GRUB to a device
SYNOPSIS
grub-install [OPTION] install_device
DESCRIPTION
Install GRUB on your drive.
-h, --help
print this message and exit
-v, --version
print the version information and exit
--modules=MODULES
pre-load specified modules MODULES
--boot-directory=DIR
install GRUB images under the directory DIR/grub instead of the /boot/grub directory
--grub-setup=FILE
use FILE as grub-setup
--grub-mkimage=FILE
use FILE as grub-mkimage
--grub-mkrelpath=FILE
use FILE as grub-mkrelpath
--grub-mkdevicemap=FILE use FILE as grub-mkdevicemap
--grub-probe=FILE
use FILE as grub-probe
--no-floppy
do not probe any floppy drive
--allow-floppy
Make the drive also bootable as floppy (default for fdX devices). May break on some BIOSes.
--recheck
probe a device map even if it already exists
--force
install even if problems are detected
--disk-module=MODULE
disk module to use
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into /boot/grub, and uses grub-setup to install grub into the boot sector.
REPORTING BUGS
Report bugs to <bug-grub@gnu.org>.
SEE ALSO
grub-mkconfig(8), grub-mkimage(1), grub-setup(8), grub-mkrescue(1)
The full documentation for grub-install is maintained as a Texinfo manual. If the info and grub-install programs are properly installed at
your site, the command
info grub-install
should give you access to the complete manual.
grub-install (GRUB) 1.99-12ubuntu5 October 2011 GRUB-INSTALL(8)